home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Fun House 1
/
CD Fun House (Wayzata Technology).iso
/
•The Arcade•
/
Puzz’l •••
/
PUZZ'L v1.0
/
PUZZ'L v1.0.rsrc
/
CODE_1.txt
< prev
next >
Wrap
Text File
|
1990-09-07
|
523KB
|
9,141 lines
# near model CODE resource
# jump table entries: 0-0 (1 of them)
export_0:
00000000 4EFA 3A2C jmp [PC + 0x3A2C /* 00003A2E */]
fn00000004:
00000004 4E56 FFE4 link A6, -0x001C
00000008 48E7 0108 movem.l -[A7], D7,A4
0000000C 286D F9B2 movea.l A4, [A5 - 0x64E]
00000010 2D6C 0010 FFF8 move.l [A6 - 0x8], [A4 + 0x10]
00000016 2D6C 0014 FFFC move.l [A6 - 0x4], [A4 + 0x14]
0000001C 2D6D FF1C FFE8 move.l [A6 - 0x18], [A5 - 0xE4]
00000022 2D6D FF20 FFEC move.l [A6 - 0x14], [A5 - 0xE0]
00000028 0C6E 0082 FFEC cmpi.w [A6 - 0x14], 0x82
0000002E 6F00 0024 ble +0x26 /* 00000054 */
00000032 3D7C 0082 FFEC move.w [A6 - 0x14], 0x82
00000038 0C6E 00B6 FFEE cmpi.w [A6 - 0x12], 0xB6
0000003E 6E00 0014 bgt +0x16 /* 00000054 */
00000042 3E2E FFEC move.w D7, [A6 - 0x14]
00000046 CFED FF22 muls.w D7, [A5 - 0xDE]
0000004A 48C7 ext.l D7
0000004C 8FED FF20 divs.w D7, [A5 - 0xE0]
00000050 3D47 FFEE move.w [A6 - 0x12], D7
label00000054:
00000054 0C6E 00B6 FFEE cmpi.w [A6 - 0x12], 0xB6
0000005A 6E00 0032 bgt +0x34 /* 0000008E */
0000005E 3E3C 00B6 move.w D7, 0xB6
00000062 9E6E FFEE sub.w D7, [A6 - 0x12]
00000066 48C7 ext.l D7
00000068 8FFC 0002 divs.w D7, 0x2
0000006C 3B47 FF28 move.w [A5 - 0xD8], D7
00000070 486E FFE8 pea.l [A6 - 0x18]
00000074 3E3C 008E move.w D7, 0x8E
00000078 DE6D FF28 add.w D7, [A5 - 0xD8]
0000007C 3F07 move.w -[A7], D7
0000007E 3F3C FFFF move.w -[A7], 0xFFFF
00000082 A8A8 syscall OffsetRect
00000084 3D7C 0144 FFFE move.w [A6 - 0x2], 0x144
0000008A 4EFA 002A jmp [PC + 0x2A /* 000000B6 */]
label0000008E:
0000008E 0C6E 012C FFEE cmpi.w [A6 - 0x12], 0x12C
00000094 6F00 0008 ble +0xA /* 0000009E */
00000098 3D7C 012C FFEE move.w [A6 - 0x12], 0x12C
label0000009E:
0000009E 486E FFE8 pea.l [A6 - 0x18]
000000A2 3F3C 008E move.w -[A7], 0x8E
000000A6 3F3C FFFF move.w -[A7], 0xFFFF
000000AA A8A8 syscall OffsetRect
000000AC 3E2E FFEE move.w D7, [A6 - 0x12]
000000B0 5347 subq.w D7, 1
000000B2 3D47 FFFE move.w [A6 - 0x2], D7
label000000B6:
000000B6 2F2D F9B2 move.l -[A7], [A5 - 0x64E]
000000BA 3F2E FFFE move.w -[A7], [A6 - 0x2]
000000BE 3F2E FFFC move.w -[A7], [A6 - 0x4]
000000C2 4227 clr.b -[A7]
000000C4 A91D syscall SizeWindow
000000C6 2F2D F9B2 move.l -[A7], [A5 - 0x64E]
000000CA 3E2D FCE8 move.w D7, [A5 - 0x318]
000000CE 0447 0014 subi.w D7, 0x14
000000D2 9E6E FFFE sub.w D7, [A6 - 0x2]
000000D6 3F07 move.w -[A7], D7
000000D8 3F3C 003C move.w -[A7], 0x3C /* '<' */
000000DC 1F3C 0001 move.b -[A7], 0x1
000000E0 A91B syscall MoveWindow
000000E2 486E FFE4 pea.l [A6 - 0x1C]
000000E6 A874 syscall GetPort
000000E8 2F2D F9B2 move.l -[A7], [A5 - 0x64E]
000000EC A873 syscall SetPort
000000EE 486E FFF8 pea.l [A6 - 0x8]
000000F2 A928 syscall InvalRect
000000F4 2F2E FFE4 move.l -[A7], [A6 - 0x1C]
000000F8 A873 syscall SetPort
000000FA 2B6E FFE8 E9E6 move.l [A5 - 0x161A], [A6 - 0x18]
00000100 2B6E FFEC E9EA move.l [A5 - 0x1616], [A6 - 0x14]
00000106 2F2D EA44 move.l -[A7], [A5 - 0x15BC]
0000010A A958 syscall HideControl
0000010C 4CDF 1080 movem.l D7,A4, [A7]+
00000110 4E5E unlink A6
00000112 4E75 rts
fn00000114:
00000114 4E56 0000 link A6, 0
00000118 48E7 0108 movem.l -[A7], D7,A4
0000011C 286D F9BA movea.l A4, [A5 - 0x646]
00000120 2B6C 0010 EDC4 move.l [A5 - 0x123C], [A4 + 0x10]
00000126 2B6C 0014 EDC8 move.l [A5 - 0x1238], [A4 + 0x14]
0000012C 3E2D EDC6 move.w D7, [A5 - 0x123A]
00000130 0647 003C addi.w D7, 0x3C /* '<' */
00000134 5547 subq.w D7, 2
00000136 3B47 EDCA move.w [A5 - 0x1236], D7
0000013A 3E2D EDC8 move.w D7, [A5 - 0x1238]
0000013E 0447 0010 subi.w D7, 0x10
00000142 3B47 EDC8 move.w [A5 - 0x1238], D7
00000146 486D EDC4 pea.l [A5 - 0x123C]
0000014A 3F3C FFFF move.w -[A7], 0xFFFF
0000014E 3F3C FFFF move.w -[A7], 0xFFFF
00000152 A8A9 syscall InsetRect
00000154 286D F9BA movea.l A4, [A5 - 0x646]
00000158 2B6C 0010 EDBC move.l [A5 - 0x1244], [A4 + 0x10]
0000015E 2B6C 0014 EDC0 move.l [A5 - 0x1240], [A4 + 0x14]
00000164 3E2D EDCA move.w D7, [A5 - 0x1236]
00000168 5247 addq.w D7, 1
0000016A 3B47 EDBE move.w [A5 - 0x1242], D7
0000016E 286D F9BA movea.l A4, [A5 - 0x646]
00000172 486C 0010 pea.l [A4 + 0x10]
00000176 A87B syscall ClipRect
00000178 4CDF 1080 movem.l D7,A4, [A7]+
0000017C 4E5E unlink A6
0000017E 4E75 rts
fn00000180:
00000180 4E56 0000 link A6, 0
00000184 48E7 0108 movem.l -[A7], D7,A4
00000188 2F2D EEFC move.l -[A7], [A5 - 0x1104]
0000018C A958 syscall HideControl
0000018E 2F2D EEFC move.l -[A7], [A5 - 0x1104]
00000192 286D F9BA movea.l A4, [A5 - 0x646]
00000196 3E2C 0012 move.w D7, [A4 + 0x12]
0000019A 5347 subq.w D7, 1
0000019C 3F07 move.w -[A7], D7
0000019E 286D F9BA movea.l A4, [A5 - 0x646]
000001A2 3E2C 0014 move.w D7, [A4 + 0x14]
000001A6 0447 000F subi.w D7, 0xF
000001AA 3F07 move.w -[A7], D7
000001AC A959 syscall MoveControl
000001AE 2F2D EEFC move.l -[A7], [A5 - 0x1104]
000001B2 A957 syscall ShowControl
000001B4 4CDF 1080 movem.l D7,A4, [A7]+
000001B8 4E5E unlink A6
000001BA 4E75 rts
fn000001BC:
000001BC 4E56 FFF8 link A6, -0x0008
000001C0 48E7 0108 movem.l -[A7], D7,A4
000001C4 286D F9BA movea.l A4, [A5 - 0x646]
000001C8 2D6C 0010 FFF8 move.l [A6 - 0x8], [A4 + 0x10]
000001CE 2D6C 0014 FFFC move.l [A6 - 0x4], [A4 + 0x14]
000001D4 3E2E FFFE move.w D7, [A6 - 0x2]
000001D8 0447 000A subi.w D7, 0xA /* '\n' */
000001DC 3D47 FFFA move.w [A6 - 0x6], D7
000001E0 3E2E FFFC move.w D7, [A6 - 0x4]
000001E4 0447 000A subi.w D7, 0xA /* '\n' */
000001E8 3D47 FFF8 move.w [A6 - 0x8], D7
000001EC 486E FFF8 pea.l [A6 - 0x8]
000001F0 A928 syscall InvalRect
000001F2 4CDF 1080 movem.l D7,A4, [A7]+
000001F6 4E5E unlink A6
000001F8 4E75 rts
fn000001FA:
000001FA 4E56 FFF4 link A6, -0x000C
000001FE 48E7 0108 movem.l -[A7], D7,A4
00000202 598F subq.l A7, 4
00000204 2F2E 000C move.l -[A7], [A6 + 0xC]
00000208 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000020C 486D FCD2 pea.l [A5 - 0x32E]
00000210 A92B syscall GrowWindow
00000212 2E1F move.l D7, [A7]+
00000214 2D47 FFFC move.l [A6 - 0x4], D7
00000218 4AAE FFFC tst.l [A6 - 0x4]
0000021C 6700 0098 beq +0x9A /* 000002B6 */
00000220 558F subq.l A7, 2
00000222 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000226 A86A syscall HiWord
00000228 3E1F move.w D7, [A7]+
0000022A 3D47 FFFA move.w [A6 - 0x6], D7
0000022E 558F subq.l A7, 2
00000230 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000234 A86B syscall LoWord
00000236 3E1F move.w D7, [A7]+
00000238 3D47 FFF8 move.w [A6 - 0x8], D7
0000023C 4EBA FF7E jsr [PC - 0x82 /* 000001BC */]
00000240 286D EF00 movea.l A4, [A5 - 0x1100]
00000244 2854 movea.l A4, [A4]
00000246 3E2C 0006 move.w D7, [A4 + 0x6]
0000024A 5047 addq.w D7, 8
0000024C 3D47 FFF6 move.w [A6 - 0xA], D7
00000250 286D EF00 movea.l A4, [A5 - 0x1100]
00000254 2854 movea.l A4, [A4]
00000256 3E2C 0008 move.w D7, [A4 + 0x8]
0000025A 5047 addq.w D7, 8
0000025C 3D47 FFF4 move.w [A6 - 0xC], D7
00000260 3E2E FFFA move.w D7, [A6 - 0x6]
00000264 BE6E FFF6 cmp.w D7, [A6 - 0xA]
00000268 6C00 0008 bge +0xA /* 00000272 */
0000026C 3D6E FFF6 FFFA move.w [A6 - 0x6], [A6 - 0xA]
label00000272:
00000272 3E2E FFF8 move.w D7, [A6 - 0x8]
00000276 BE6E FFF4 cmp.w D7, [A6 - 0xC]
0000027A 6C00 0008 bge +0xA /* 00000284 */
0000027E 3D6E FFF4 FFF8 move.w [A6 - 0x8], [A6 - 0xC]
label00000284:
00000284 2F2E 000C move.l -[A7], [A6 + 0xC]
00000288 3F2E FFF8 move.w -[A7], [A6 - 0x8]
0000028C 3F2E FFFA move.w -[A7], [A6 - 0x6]
00000290 1F3C 0001 move.b -[A7], 0x1
00000294 A91D syscall SizeWindow
00000296 4EBA FEE8 jsr [PC - 0x118 /* 00000180 */]
0000029A 4EBA FF20 jsr [PC - 0xE0 /* 000001BC */]
0000029E 4EBA FE74 jsr [PC - 0x18C /* 00000114 */]
000002A2 0C6D 0000 EDBA cmpi.w [A5 - 0x1246], 0x0
000002A8 6F00 000C ble +0xE /* 000002B6 */
000002AC 3B7C 0001 EDCC move.w [A5 - 0x1234], 0x1
000002B2 4EBA 58DE jsr [PC + 0x58DE /* 00005B92 */]
label000002B6:
000002B6 4CDF 1080 movem.l D7,A4, [A7]+
000002BA 4E5E unlink A6
000002BC 205F movea.l A0, [A7]+
000002BE 508F addq.l A7, 8
000002C0 4ED0 jmp [A0]
fn000002C2:
000002C2 4E56 FECE link A6, -0x0132
000002C6 48E7 1F18 movem.l -[A7], D3,D4,D5,D6,D7,A3,A4
000002CA 3B7C 0002 EDCE move.w [A5 - 0x1232], 0x2
000002D0 3B6D F98C EDCC move.w [A5 - 0x1234], [A5 - 0x674]
000002D6 598F subq.l A7, 4
000002D8 A975 syscall TickCount
000002DA 2E1F move.l D7, [A7]+
000002DC 2B47 FF7A move.l [A5 - 0x86], D7
000002E0 3E3C 0002 move.w D7, 0x2
000002E4 3D47 FFFA move.w [A6 - 0x6], D7
000002E8 BE6D F98C cmp.w D7, [A5 - 0x674]
000002EC 6E00 0050 bgt +0x52 /* 0000033E */
000002F0 3D6D F98C FECE move.w [A6 - 0x132], [A5 - 0x674]
label000002F6:
000002F6 3C07 move.w D6, D7
000002F8 5546 subq.w D6, 2
000002FA DC46 add.w D6, D6
000002FC 49EE FED0 lea.l A4, [A6 - 0x130]
00000300 558F subq.l A7, 2
00000302 A861 syscall Random
00000304 3A1F move.w D5, [A7]+
00000306 3985 6000 move.w [A4 + D6.w], D5
0000030A 3C07 move.w D6, D7
0000030C 5546 subq.w D6, 2
0000030E DC46 add.w D6, D6
00000310 49EE FED0 lea.l A4, [A6 - 0x130]
00000314 0C74 8001 6000 cmpi.w [A4 + D6.w], 0x8001
0000031A 6600 0010 bne +0x12 /* 0000032C */
0000031E 3C07 move.w D6, D7
00000320 5546 subq.w D6, 2
00000322 DC46 add.w D6, D6
00000324 49EE FED0 lea.l A4, [A6 - 0x130]
00000328 5274 6000 addq.w [A4 + D6.w], 1
label0000032C:
0000032C BE6E FECE cmp.w D7, [A6 - 0x132]
00000330 6C00 000C bge +0xE /* 0000033E */
00000334 5247 addq.w D7, 1
00000336 3D47 FFFA move.w [A6 - 0x6], D7
0000033A 4EFA FFBA jmp [PC - 0x46 /* 000002F6 */]
label0000033E:
0000033E 426D EDBA clr.w [A5 - 0x1246]
00000342 3B7C 0001 EDCE move.w [A5 - 0x1232], 0x1
00000348 3D7C 8001 FFFE move.w [A6 - 0x2], 0x8001
label0000034E:
0000034E 526D EDCE addq.w [A5 - 0x1232], 1
00000352 3D7C 7FFF FFFC move.w [A6 - 0x4], 0x7FFF
00000358 3E3C 0002 move.w D7, 0x2
0000035C 3D47 FFFA move.w [A6 - 0x6], D7
00000360 BE6D F98C cmp.w D7, [A5 - 0x674]
00000364 6E00 006C bgt +0x6E /* 000003D2 */
00000368 3D6D F98C FECE move.w [A6 - 0x132], [A5 - 0x674]
label0000036E:
0000036E 3A07 move.w D5, D7
00000370 5545 subq.w D5, 2
00000372 DA45 add.w D5, D5
00000374 47EE FED0 lea.l A3, [A6 - 0x130]
00000378 3833 5000 move.w D4, [A3 + D5.w]
0000037C B86E FFFC cmp.w D4, [A6 - 0x4]
00000380 5FC5 sle D5
00000382 4405 neg.b D5
00000384 3807 move.w D4, D7
00000386 5544 subq.w D4, 2
00000388 D844 add.w D4, D4
0000038A 47EE FED0 lea.l A3, [A6 - 0x130]
0000038E 3633 4000 move.w D3, [A3 + D4.w]
00000392 B66E FFFE cmp.w D3, [A6 - 0x2]
00000396 5EC4 sgt D4
00000398 4404 neg.b D4
0000039A C805 and.b D4, D5
0000039C 6700 0022 beq +0x24 /* 000003C0 */
000003A0 3A2D EDCE move.w D5, [A5 - 0x1232]
000003A4 5345 subq.w D5, 1
000003A6 DA45 add.w D5, D5
000003A8 47ED EDD0 lea.l A3, [A5 - 0x1230]
000003AC 3787 5000 move.w [A3 + D5.w], D7
000003B0 3A07 move.w D5, D7
000003B2 5545 subq.w D5, 2
000003B4 DA45 add.w D5, D5
000003B6 47EE FED0 lea.l A3, [A6 - 0x130]
000003BA 3D73 5000 FFFC move.w [A6 - 0x4], [A3 + D5.w]
label000003C0:
000003C0 BE6E FECE cmp.w D7, [A6 - 0x132]
000003C4 6C00 000C bge +0xE /* 000003D2 */
000003C8 5247 addq.w D7, 1
000003CA 3D47 FFFA move.w [A6 - 0x6], D7
000003CE 4EFA FF9E jmp [PC - 0x62 /* 0000036E */]
label000003D2:
000003D2 3E2D F98C move.w D7, [A5 - 0x674]
000003D6 3D47 FFFA move.w [A6 - 0x6], D7
000003DA 0C47 0002 cmpi.w D7, 0x2
000003DE 6D00 0054 blt +0x56 /* 00000434 */
label000003E2:
000003E2 3A07 move.w D5, D7
000003E4 5545 subq.w D5, 2
000003E6 DA45 add.w D5, D5
000003E8 47EE FED0 lea.l A3, [A6 - 0x130]
000003EC 3833 5000 move.w D4, [A3 + D5.w]
000003F0 B86E FFFC cmp.w D4, [A6 - 0x4]
000003F4 6600 002C bne +0x2E /* 00000422 */
000003F8 3A2D EDCE move.w D5, [A5 - 0x1232]
000003FC 5345 subq.w D5, 1
000003FE DA45 add.w D5, D5
00000400 47ED EDD0 lea.l A3, [A5 - 0x1230]
00000404 3807 move.w D4, D7
00000406 B873 5000 cmp.w D4, [A3 + D5.w]
0000040A 6700 0016 beq +0x18 /* 00000422 */
0000040E 526D EDCE addq.w [A5 - 0x1232], 1
00000412 3A2D EDCE move.w D5, [A5 - 0x1232]
00000416 5345 subq.w D5, 1
00000418 DA45 add.w D5, D5
0000041A 47ED EDD0 lea.l A3, [A5 - 0x1230]
0000041E 3787 5000 move.w [A3 + D5.w], D7
label00000422:
00000422 0C47 0002 cmpi.w D7, 0x2
00000426 6F00 000C ble +0xE /* 00000434 */
0000042A 5347 subq.w D7, 1
0000042C 3D47 FFFA move.w [A6 - 0x6], D7
00000430 4EFA FFB0 jmp [PC - 0x50 /* 000003E2 */]
label00000434:
00000434 3D6E FFFC FFFE move.w [A6 - 0x2], [A6 - 0x4]
0000043A 3E2D EDCE move.w D7, [A5 - 0x1232]
0000043E BE6D F98C cmp.w D7, [A5 - 0x674]
00000442 6D00 FF0A blt -0xF4 /* 0000034E */
00000446 3E2D EDCE move.w D7, [A5 - 0x1232]
0000044A BE6D F98C cmp.w D7, [A5 - 0x674]
0000044E 6F00 0008 ble +0xA /* 00000458 */
00000452 1B7C 0001 F9AC move.b [A5 - 0x654], 0x1
label00000458:
00000458 3E2D F98C move.w D7, [A5 - 0x674]
0000045C 5547 subq.w D7, 2
0000045E 5247 addq.w D7, 1
00000460 3B47 EDBA move.w [A5 - 0x1246], D7
00000464 3B7C 0001 EDD0 move.w [A5 - 0x1230], 0x1
0000046A 4CDF 18F8 movem.l D3,D4,D5,D6,D7,A3,A4, [A7]+
0000046E 4E5E unlink A6
00000470 4E75 rts
fn00000472:
00000472 4E56 FFF8 link A6, -0x0008
00000476 48E7 0308 movem.l -[A7], D6,D7,A4
0000047A 286E 0008 movea.l A4, [A6 + 0x8]
0000047E 2D54 FFF8 move.l [A6 - 0x8], [A4]
00000482 2D6C 0004 FFFC move.l [A6 - 0x4], [A4 + 0x4]
00000488 3E2E FFFC move.w D7, [A6 - 0x4]
0000048C 9E6E FFF8 sub.w D7, [A6 - 0x8]
00000490 0C47 0012 cmpi.w D7, 0x12
00000494 5DC7 slt D7
00000496 4407 neg.b D7
00000498 3C2E FFFE move.w D6, [A6 - 0x2]
0000049C 9C6E FFFA sub.w D6, [A6 - 0x6]
000004A0 0C46 0012 cmpi.w D6, 0x12
000004A4 5DC6 slt D6
000004A6 4406 neg.b D6
000004A8 8C07 or.b D6, D7
000004AA 6700 000C beq +0xE /* 000004B8 */
000004AE 1D7C 0001 000C move.b [A6 + 0xC], 0x1
000004B4 4EFA 0006 jmp [PC + 0x6 /* 000004BC */]
label000004B8:
000004B8 422E 000C clr.b [A6 + 0xC]
label000004BC:
000004BC 4CDF 10C0 movem.l D6,D7,A4, [A7]+
000004C0 4E5E unlink A6
000004C2 2E9F move.l [A7], [A7]+
000004C4 4E75 rts
fn000004C6:
000004C6 4E56 FFD2 link A6, -0x002E
000004CA 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
000004CE 598F subq.l A7, 4
000004D0 A8D8 syscall NewRgn
000004D2 2E1F move.l D7, [A7]+
000004D4 2D47 FFF0 move.l [A6 - 0x10], D7
000004D8 598F subq.l A7, 4
000004DA A8D8 syscall NewRgn
000004DC 2E1F move.l D7, [A7]+
000004DE 2D47 FFF4 move.l [A6 - 0xC], D7
000004E2 2D6D FF1C FFE0 move.l [A6 - 0x20], [A5 - 0xE4]
000004E8 2D6D FF20 FFE4 move.l [A6 - 0x1C], [A5 - 0xE0]
000004EE 2D6E FFE0 FFD8 move.l [A6 - 0x28], [A6 - 0x20]
000004F4 2D6E FFE4 FFDC move.l [A6 - 0x24], [A6 - 0x1C]
000004FA 3E2D FCE8 move.w D7, [A5 - 0x318]
000004FE 9E6D FCE4 sub.w D7, [A5 - 0x31C]
00000502 3C2E FFDE move.w D6, [A6 - 0x22]
00000506 9C6E FFDA sub.w D6, [A6 - 0x26]
0000050A 9E46 sub.w D7, D6
0000050C 48C7 ext.l D7
0000050E 8FFC 0002 divs.w D7, 0x2
00000512 3D47 FFFC move.w [A6 - 0x4], D7
00000516 486E FFD8 pea.l [A6 - 0x28]
0000051A 3E2E FFFC move.w D7, [A6 - 0x4]
0000051E 9E6E FFDA sub.w D7, [A6 - 0x26]
00000522 3F07 move.w -[A7], D7
00000524 3E3C 0032 move.w D7, 0x32 /* '2' */
00000528 9E6E FFD8 sub.w D7, [A6 - 0x28]
0000052C 3F07 move.w -[A7], D7
0000052E A8A8 syscall OffsetRect
00000530 598F subq.l A7, 4
00000532 42A7 clr.l -[A7]
00000534 486E FFD8 pea.l [A6 - 0x28]
00000538 487A 039C pea.l [PC + 0x39C /* 000008D6, value 0x4E56 'NV', cstring "" */]
0000053C 1F3C 0001 move.b -[A7], 0x1
00000540 3F3C 0003 move.w -[A7], 0x3
00000544 2F3C FFFF FFFF move.l -[A7], 0xFFFFFFFF
0000054A 4227 clr.b -[A7]
0000054C 42A7 clr.l -[A7]
0000054E A913 syscall NewWindow
00000550 2E1F move.l D7, [A7]+
00000552 2D47 FFD4 move.l [A6 - 0x2C], D7
00000556 2F2E FFD4 move.l -[A7], [A6 - 0x2C]
0000055A A873 syscall SetPort
0000055C 286E FFD4 movea.l A4, [A6 - 0x2C]
00000560 486C 0010 pea.l [A4 + 0x10]
00000564 A87B syscall ClipRect
00000566 486D FF16 pea.l [A5 - 0xEA]
0000056A 286E FFD4 movea.l A4, [A6 - 0x2C]
0000056E 486C 0002 pea.l [A4 + 0x2]
00000572 486E FFE0 pea.l [A6 - 0x20]
00000576 486E FFE0 pea.l [A6 - 0x20]
0000057A 4267 clr.w -[A7]
0000057C 42A7 clr.l -[A7]
0000057E A8EC syscall CopyBits
00000580 598F subq.l A7, 4
00000582 A8D8 syscall NewRgn
00000584 2E1F move.l D7, [A7]+
00000586 2B47 EF00 move.l [A5 - 0x1100], D7
0000058A 2F2D EF00 move.l -[A7], [A5 - 0x1100]
0000058E 486E FFE0 pea.l [A6 - 0x20]
00000592 A8DF syscall RectRgn
00000594 486D EF04 pea.l [A5 - 0x10FC]
00000598 4267 clr.w -[A7]
0000059A 4267 clr.w -[A7]
0000059C A880 syscall SetPt
0000059E 2B6E FFE0 EF08 move.l [A5 - 0x10F8], [A6 - 0x20]
000005A4 2B6E FFE4 EF0C move.l [A5 - 0x10F4], [A6 - 0x1C]
000005AA 3B7C 0002 EF10 move.w [A5 - 0x10F0], 0x2
000005B0 2F2E FFF4 move.l -[A7], [A6 - 0xC]
000005B4 486E FFE0 pea.l [A6 - 0x20]
000005B8 A8DF syscall RectRgn
000005BA 3D7C 0002 FFFE move.w [A6 - 0x2], 0x2
000005C0 426E FFEC clr.w [A6 - 0x14]
000005C4 426E FFEE clr.w [A6 - 0x12]
000005C8 422E FFEA clr.b [A6 - 0x16]
000005CC 0C6D 0004 EA04 cmpi.w [A5 - 0x15FC], 0x4
000005D2 6600 0014 bne +0x16 /* 000005E8 */
000005D6 486E FFF8 pea.l [A6 - 0x8]
000005DA 3F3C 0005 move.w -[A7], 0x5
000005DE 3F3C 0005 move.w -[A7], 0x5
000005E2 A880 syscall SetPt
000005E4 4EFA 000C jmp [PC + 0xC /* 000005F2 */]
label000005E8:
000005E8 486E FFF8 pea.l [A6 - 0x8]
000005EC 4267 clr.w -[A7]
000005EE 4267 clr.w -[A7]
000005F0 A880 syscall SetPt
label000005F2:
000005F2 3E3C 0001 move.w D7, 0x1
000005F6 3D47 FFFC move.w [A6 - 0x4], D7
000005FA BE6D FCEE cmp.w D7, [A5 - 0x312]
000005FE 6E00 002E bgt +0x30 /* 0000062E */
00000602 3D6D FCEE FFD2 move.w [A6 - 0x2E], [A5 - 0x312]
label00000608:
00000608 2F2E FFF8 move.l -[A7], [A6 - 0x8]
0000060C 3C07 move.w D6, D7
0000060E 5346 subq.w D6, 1
00000610 E54E lsl D6.w, 2
00000612 49ED FD68 lea.l A4, [A5 - 0x298]
00000616 4874 6000 pea.l [A4 + D6.w]
0000061A A87E syscall AddPt
0000061C BE6E FFD2 cmp.w D7, [A6 - 0x2E]
00000620 6C00 000C bge +0xE /* 0000062E */
00000624 5247 addq.w D7, 1
00000626 3D47 FFFC move.w [A6 - 0x4], D7
0000062A 4EFA FFDC jmp [PC - 0x24 /* 00000608 */]
label0000062E:
0000062E 422E FFE8 clr.b [A6 - 0x18]
00000632 3E3C 0001 move.w D7, 0x1
00000636 3D47 FFFC move.w [A6 - 0x4], D7
0000063A BE6D FCEE cmp.w D7, [A5 - 0x312]
0000063E 6E00 01A6 bgt +0x1A8 /* 000007E6 */
00000642 3D6D FCEE FFD2 move.w [A6 - 0x2E], [A5 - 0x312]
label00000648:
00000648 3C2E FFEC move.w D6, [A6 - 0x14]
0000064C CDED FDE2 muls.w D6, [A5 - 0x21E]
00000650 3A07 move.w D5, D7
00000652 5345 subq.w D5, 1
00000654 E54D lsl D5.w, 2
00000656 49ED FD68 lea.l A4, [A5 - 0x298]
0000065A DC74 5002 add.w D6, [A4 + D5.w + 0x2]
0000065E 3D46 FFFA move.w [A6 - 0x6], D6
00000662 3C2E FFEE move.w D6, [A6 - 0x12]
00000666 CDED FDE0 muls.w D6, [A5 - 0x220]
0000066A 3A07 move.w D5, D7
0000066C 5345 subq.w D5, 1
0000066E E54D lsl D5.w, 2
00000670 49ED FD68 lea.l A4, [A5 - 0x298]
00000674 DC74 5000 add.w D6, [A4 + D5.w]
00000678 3D46 FFF8 move.w [A6 - 0x8], D6
0000067C 3C07 move.w D6, D7
0000067E 5346 subq.w D6, 1
00000680 E54E lsl D6.w, 2
00000682 49ED FCF0 lea.l A4, [A5 - 0x310]
00000686 2F34 6000 move.l -[A7], [A4 + D6.w]
0000068A 3C07 move.w D6, D7
0000068C 5346 subq.w D6, 1
0000068E E54E lsl D6.w, 2
00000690 49ED FCF0 lea.l A4, [A5 - 0x310]
00000694 2874 6000 movea.l A4, [A4 + D6.w]
00000698 2854 movea.l A4, [A4]
0000069A 3C2E FFFA move.w D6, [A6 - 0x6]
0000069E 9C6C 0004 sub.w D6, [A4 + 0x4]
000006A2 3F06 move.w -[A7], D6
000006A4 3C07 move.w D6, D7
000006A6 5346 subq.w D6, 1
000006A8 E54E lsl D6.w, 2
000006AA 49ED FCF0 lea.l A4, [A5 - 0x310]
000006AE 2874 6000 movea.l A4, [A4 + D6.w]
000006B2 2854 movea.l A4, [A4]
000006B4 3C2E FFF8 move.w D6, [A6 - 0x8]
000006B8 9C6C 0002 sub.w D6, [A4 + 0x2]
000006BC 3F06 move.w -[A7], D6
000006BE A8E0 syscall OffsetRgn/OfsetRgn
000006C0 3C07 move.w D6, D7
000006C2 5346 subq.w D6, 1
000006C4 E54E lsl D6.w, 2
000006C6 49ED FCF0 lea.l A4, [A5 - 0x310]
000006CA 2F34 6000 move.l -[A7], [A4 + D6.w]
000006CE 2F2E FFF4 move.l -[A7], [A6 - 0xC]
000006D2 2F2E FFF0 move.l -[A7], [A6 - 0x10]
000006D6 A8E4 syscall SectRgn
000006D8 558F subq.l A7, 2
000006DA 2F2E FFF0 move.l -[A7], [A6 - 0x10]
000006DE A8E2 syscall EmptyRgn
000006E0 1C1F move.b D6, [A7]+
000006E2 6600 00F0 bne +0xF2 /* 000007D4 */
000006E6 558F subq.l A7, 2
000006E8 286E FFF0 movea.l A4, [A6 - 0x10]
000006EC 2854 movea.l A4, [A4]
000006EE 486C 0002 pea.l [A4 + 0x2]
000006F2 4EBA FD7E jsr [PC - 0x282 /* 00000472 */]
000006F6 1C1F move.b D6, [A7]+
000006F8 6600 00DA bne +0xDC /* 000007D4 */
000006FC 1D7C 0001 FFE8 move.b [A6 - 0x18], 0x1
00000702 2F2E FFF0 move.l -[A7], [A6 - 0x10]
00000706 486D FFD0 pea.l [A5 - 0x30]
0000070A A8D6 syscall FillRgn
0000070C 3C2E FFFE move.w D6, [A6 - 0x2]
00000710 5346 subq.w D6, 1
00000712 CDFC 0012 muls.w D6, 0x12
00000716 49ED EF00 lea.l A4, [A5 - 0x1100]
0000071A 598F subq.l A7, 4
0000071C A8D8 syscall NewRgn
0000071E 2A1F move.l D5, [A7]+
00000720 2985 6000 move.l [A4 + D6.w], D5
00000724 2F2E FFF0 move.l -[A7], [A6 - 0x10]
00000728 3C2E FFFE move.w D6, [A6 - 0x2]
0000072C 5346 subq.w D6, 1
0000072E CDFC 0012 muls.w D6, 0x12
00000732 49ED EF00 lea.l A4, [A5 - 0x1100]
00000736 2F34 6000 move.l -[A7], [A4 + D6.w]
0000073A A8DC syscall CopyRgn
0000073C 286E FFF0 movea.l A4, [A6 - 0x10]
00000740 2854 movea.l A4, [A4]
00000742 3C07 move.w D6, D7
00000744 5346 subq.w D6, 1
00000746 E54E lsl D6.w, 2
00000748 47ED FCF0 lea.l A3, [A5 - 0x310]
0000074C 2673 6000 movea.l A3, [A3 + D6.w]
00000750 2653 movea.l A3, [A3]
00000752 3C2C 0004 move.w D6, [A4 + 0x4]
00000756 9C6B 0004 sub.w D6, [A3 + 0x4]
0000075A DC6E FFFA add.w D6, [A6 - 0x6]
0000075E 3D46 FFFA move.w [A6 - 0x6], D6
00000762 286E FFF0 movea.l A4, [A6 - 0x10]
00000766 2854 movea.l A4, [A4]
00000768 3C07 move.w D6, D7
0000076A 5346 subq.w D6, 1
0000076C E54E lsl D6.w, 2
0000076E 47ED FCF0 lea.l A3, [A5 - 0x310]
00000772 2673 6000 movea.l A3, [A3 + D6.w]
00000776 2653 movea.l A3, [A3]
00000778 3C2C 0002 move.w D6, [A4 + 0x2]
0000077C 9C6B 0002 sub.w D6, [A3 + 0x2]
00000780 DC6E FFF8 add.w D6, [A6 - 0x8]
00000784 3D46 FFF8 move.w [A6 - 0x8], D6
00000788 3C2E FFFE move.w D6, [A6 - 0x2]
0000078C 5346 subq.w D6, 1
0000078E CDFC 0012 muls.w D6, 0x12
00000792 49ED EF00 lea.l A4, [A5 - 0x1100]
00000796 29AE FFF8 6004 move.l [A4 + D6.w + 0x4], [A6 - 0x8]
0000079C 3C2E FFFE move.w D6, [A6 - 0x2]
000007A0 5346 subq.w D6, 1
000007A2 CDFC 0012 muls.w D6, 0x12
000007A6 49ED EF00 lea.l A4, [A5 - 0x1100]
000007AA 266E FFF0 movea.l A3, [A6 - 0x10]
000007AE 2653 movea.l A3, [A3]
000007B0 29AB 0002 6008 move.l [A4 + D6.w + 0x8], [A3 + 0x2]
000007B6 29AB 0006 600C move.l [A4 + D6.w + 0xC], [A3 + 0x6]
000007BC 3C2E FFFE move.w D6, [A6 - 0x2]
000007C0 5346 subq.w D6, 1
000007C2 CDFC 0012 muls.w D6, 0x12
000007C6 49ED EF00 lea.l A4, [A5 - 0x1100]
000007CA 39BC 0001 6010 move.w [A4 + D6.w + 0x10], 0x1
000007D0 526E FFFE addq.w [A6 - 0x2], 1
label000007D4:
000007D4 BE6E FFD2 cmp.w D7, [A6 - 0x2E]
000007D8 6C00 000C bge +0xE /* 000007E6 */
000007DC 5247 addq.w D7, 1
000007DE 3D47 FFFC move.w [A6 - 0x4], D7
000007E2 4EFA FE64 jmp [PC - 0x19C /* 00000648 */]
label000007E6:
000007E6 4A6E FFEC tst.w [A6 - 0x14]
000007EA 57C7 seq D7
000007EC 4407 neg.b D7
000007EE 1C2E FFE8 move.b D6, [A6 - 0x18]
000007F2 0A06 0001 xori.b D6, 0x1
000007F6 CC07 and.b D6, D7
000007F8 6700 0008 beq +0xA /* 00000802 */
000007FC 1D7C 0001 FFEA move.b [A6 - 0x16], 0x1
label00000802:
00000802 526E FFEC addq.w [A6 - 0x14], 1
00000806 1E2E FFE8 move.b D7, [A6 - 0x18]
0000080A 0A07 0001 xori.b D7, 0x1
0000080E 0C6E 0003 FFEC cmpi.w [A6 - 0x14], 0x3
00000814 5EC6 sgt D6
00000816 4406 neg.b D6
00000818 8C07 or.b D6, D7
0000081A 6700 FE12 beq -0x1EC /* 0000062E */
0000081E 426E FFEC clr.w [A6 - 0x14]
00000822 526E FFEE addq.w [A6 - 0x12], 1
00000826 0C6E 0002 FFEE cmpi.w [A6 - 0x12], 0x2
0000082C 5EC7 sgt D7
0000082E 4407 neg.b D7
00000830 8E2E FFEA or.b D7, [A6 - 0x16]
00000834 6700 FDF8 beq -0x206 /* 0000062E */
00000838 3E2E FFFE move.w D7, [A6 - 0x2]
0000083C 5347 subq.w D7, 1
0000083E 3B47 F98C move.w [A5 - 0x674], D7
00000842 3E3C 0002 move.w D7, 0x2
00000846 3D47 FFFC move.w [A6 - 0x4], D7
0000084A BE6D F98C cmp.w D7, [A5 - 0x674]
0000084E 6E00 0034 bgt +0x36 /* 00000884 */
00000852 3D6D F98C FFD2 move.w [A6 - 0x2E], [A5 - 0x674]
label00000858:
00000858 2F2D EF00 move.l -[A7], [A5 - 0x1100]
0000085C 3C07 move.w D6, D7
0000085E 5346 subq.w D6, 1
00000860 CDFC 0012 muls.w D6, 0x12
00000864 49ED EF00 lea.l A4, [A5 - 0x1100]
00000868 2F34 6000 move.l -[A7], [A4 + D6.w]
0000086C 2F2D EF00 move.l -[A7], [A5 - 0x1100]
00000870 A8E6 syscall DiffRgn
00000872 BE6E FFD2 cmp.w D7, [A6 - 0x2E]
00000876 6C00 000C bge +0xE /* 00000884 */
0000087A 5247 addq.w D7, 1
0000087C 3D47 FFFC move.w [A6 - 0x4], D7
00000880 4EFA FFD6 jmp [PC - 0x2A /* 00000858 */]
label00000884:
00000884 2F2E FFD4 move.l -[A7], [A6 - 0x2C]
00000888 A914 syscall DisposeWindow
0000088A 2F2E FFF0 move.l -[A7], [A6 - 0x10]
0000088E A8D9 syscall DisposRgn/DisposeRgn
00000890 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00000894 A8D9 syscall DisposRgn/DisposeRgn
00000896 3E3C 0001 move.w D7, 0x1
0000089A 3D47 FFFC move.w [A6 - 0x4], D7
0000089E BE6D FCEE cmp.w D7, [A5 - 0x312]
000008A2 6E00 002A bgt +0x2C /* 000008CE */
000008A6 3D6D FCEE FFD2 move.w [A6 - 0x2E], [A5 - 0x312]
label000008AC:
000008AC 3C07 move.w D6, D7
000008AE 5346 subq.w D6, 1
000008B0 E54E lsl D6.w, 2
000008B2 49ED FCF0 lea.l A4, [A5 - 0x310]
000008B6 2F34 6000 move.l -[A7], [A4 + D6.w]
000008BA A9A3 syscall ReleaseResource
000008BC BE6E FFD2 cmp.w D7, [A6 - 0x2E]
000008C0 6C00 000C bge +0xE /* 000008CE */
000008C4 5247 addq.w D7, 1
000008C6 3D47 FFFC move.w [A6 - 0x4], D7
000008CA 4EFA FFE0 jmp [PC - 0x20 /* 000008AC */]
label000008CE:
000008CE 4CDF 18E0 movem.l D5,D6,D7,A3,A4, [A7]+
000008D2 4E5E unlink A6
000008D4 4E75 rts
000008D6 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000008D8-000008E0
fn000008D8:
000008D8 4E56 0000 link A6, 0
000008DC 48E7 0100 movem.l -[A7], D7
// end alternate branch 000008D8-000008E0
fn000008D8: // (misaligned)
000008DA 0000 48E7 ori.b D0, 0xE7
000008DE 0100 btst D0, D0
000008E0 4EBA 3E0C jsr [PC + 0x3E0C /* 000046EE */]
000008E4 2B6D FFE8 ECE4 move.l [A5 - 0x131C], [A5 - 0x18]
000008EA 2B6D FFEC ECE8 move.l [A5 - 0x1318], [A5 - 0x14]
000008F0 598F subq.l A7, 4
000008F2 A8D8 syscall NewRgn
000008F4 2E1F move.l D7, [A7]+
000008F6 2B47 FDE4 move.l [A5 - 0x21C], D7
000008FA 486D FFE8 pea.l [A5 - 0x18]
000008FE A89D syscall PenPat
00000900 422D ECF6 clr.b [A5 - 0x130A]
00000904 422D EA4C clr.b [A5 - 0x15B4]
00000908 422D EA08 clr.b [A5 - 0x15F8]
0000090C 3B7C 0001 EA04 move.w [A5 - 0x15FC], 0x1
00000912 426D ED1C clr.w [A5 - 0x12E4]
00000916 4CDF 0080 movem.l D7, [A7]+
0000091A 4E5E unlink A6
0000091C 4E75 rts
fn0000091E:
0000091E 4E56 FFE8 link A6, -0x0018
00000922 48E7 0118 movem.l -[A7], D7,A3,A4
00000926 2B6D ED0C FF1C move.l [A5 - 0xE4], [A5 - 0x12F4]
0000092C 2B6D ED10 FF20 move.l [A5 - 0xE0], [A5 - 0x12F0]
00000932 486D FF16 pea.l [A5 - 0xEA]
00000936 4EBA 38F6 jsr [PC + 0x38F6 /* 0000422E */]
0000093A 2F2D F9BA move.l -[A7], [A5 - 0x646]
0000093E A873 syscall SetPort
00000940 486D FF1C pea.l [A5 - 0xE4]
00000944 A87B syscall ClipRect
00000946 286D F9BA movea.l A4, [A5 - 0x646]
0000094A 2F2C 001C move.l -[A7], [A4 + 0x1C]
0000094E 286D F9BA movea.l A4, [A5 - 0x646]
00000952 2F2C 0018 move.l -[A7], [A4 + 0x18]
00000956 A8DC syscall CopyRgn
00000958 286D F9BA movea.l A4, [A5 - 0x646]
0000095C 47ED FF08 lea.l A3, [A5 - 0xF8]
00000960 49EC 0002 lea.l A4, [A4 + 0x2]
00000964 3E3C 000D move.w D7, 0xD /* '\r' */
label00000968:
00000968 16DC move.b [A3]+, [A4]+
0000096A 51CF FFFC dbf D7, -0x6 /* 00000968 */
0000096E 486D FF16 pea.l [A5 - 0xEA]
00000972 A875 syscall SetPBits/SetPortBits
00000974 486D FF1C pea.l [A5 - 0xE4]
00000978 486D FFF0 pea.l [A5 - 0x10]
0000097C A8A5 syscall FillRect
0000097E 558F subq.l A7, 2
00000980 486D ED04 pea.l [A5 - 0x12FC]
00000984 486D EA54 pea.l [A5 - 0x15AC]
00000988 486E FFF0 pea.l [A6 - 0x10]
0000098C A8AA syscall SectRect
0000098E 1E1F move.b D7, [A7]+
00000990 6700 003E beq +0x40 /* 000009D0 */
00000994 2D6E FFF0 FFF8 move.l [A6 - 0x8], [A6 - 0x10]
0000099A 2D6E FFF4 FFFC move.l [A6 - 0x4], [A6 - 0xC]
000009A0 486E FFF8 pea.l [A6 - 0x8]
000009A4 3E2D EA56 move.w D7, [A5 - 0x15AA]
000009A8 9E6D ED06 sub.w D7, [A5 - 0x12FA]
000009AC 3F07 move.w -[A7], D7
000009AE 3E2D EA54 move.w D7, [A5 - 0x15AC]
000009B2 9E6D ED04 sub.w D7, [A5 - 0x12FC]
000009B6 3F07 move.w -[A7], D7
000009B8 A8A8 syscall OffsetRect
000009BA 486D EA4E pea.l [A5 - 0x15B2]
000009BE 486D FF16 pea.l [A5 - 0xEA]
000009C2 486E FFF0 pea.l [A6 - 0x10]
000009C6 486E FFF8 pea.l [A6 - 0x8]
000009CA 4267 clr.w -[A7]
000009CC 42A7 clr.l -[A7]
000009CE A8EC syscall CopyBits
label000009D0:
000009D0 486D FF1C pea.l [A5 - 0xE4]
000009D4 A8A1 syscall FrameRect
000009D6 486D FF08 pea.l [A5 - 0xF8]
000009DA A875 syscall SetPBits/SetPortBits
000009DC 2F2D EA4E move.l -[A7], [A5 - 0x15B2]
000009E0 4EBA 3210 jsr [PC + 0x3210 /* 00003BF2 */]
000009E4 422D EA4C clr.b [A5 - 0x15B4]
000009E8 598F subq.l A7, 4
000009EA 2F3C 001E 8480 move.l -[A7], 0x1E8480
000009F0 4EBA 31A8 jsr [PC + 0x31A8 /* 00003B9A */]
000009F4 2E1F move.l D7, [A7]+
000009F6 2B47 E9E0 move.l [A5 - 0x1620], D7
000009FA 4CDF 1880 movem.l D7,A3,A4, [A7]+
000009FE 4E5E unlink A6
00000A00 4E75 rts
fn00000A02:
00000A02 4E56 FFE8 link A6, -0x0018
00000A06 48E7 0108 movem.l -[A7], D7,A4
00000A0A 558F subq.l A7, 2
00000A0C 486D ED04 pea.l [A5 - 0x12FC]
00000A10 486D EA54 pea.l [A5 - 0x15AC]
00000A14 486E FFF0 pea.l [A6 - 0x10]
00000A18 A8AA syscall SectRect
00000A1A 1E1F move.b D7, [A7]+
00000A1C 6700 0044 beq +0x46 /* 00000A62 */
00000A20 2D6E FFF0 FFF8 move.l [A6 - 0x8], [A6 - 0x10]
00000A26 2D6E FFF4 FFFC move.l [A6 - 0x4], [A6 - 0xC]
00000A2C 486E FFF8 pea.l [A6 - 0x8]
00000A30 3E2D ED0E move.w D7, [A5 - 0x12F2]
00000A34 9E6D ED06 sub.w D7, [A5 - 0x12FA]
00000A38 3F07 move.w -[A7], D7
00000A3A 3E2D ED0C move.w D7, [A5 - 0x12F4]
00000A3E 9E6D ED04 sub.w D7, [A5 - 0x12FC]
00000A42 3F07 move.w -[A7], D7
00000A44 A8A8 syscall OffsetRect
00000A46 486D EA4E pea.l [A5 - 0x15B2]
00000A4A 286D F9C2 movea.l A4, [A5 - 0x63E]
00000A4E 486C 0002 pea.l [A4 + 0x2]
00000A52 486E FFF0 pea.l [A6 - 0x10]
00000A56 486E FFF8 pea.l [A6 - 0x8]
00000A5A 4267 clr.w -[A7]
00000A5C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000A60 A8EC syscall CopyBits
label00000A62:
00000A62 4CDF 1080 movem.l D7,A4, [A7]+
00000A66 4E5E unlink A6
00000A68 2E9F move.l [A7], [A7]+
00000A6A 4E75 rts
fn00000A6C:
00000A6C 4E56 0000 link A6, 0
00000A70 48E7 0108 movem.l -[A7], D7,A4
00000A74 286D F9C2 movea.l A4, [A5 - 0x63E]
00000A78 286C 0018 movea.l A4, [A4 + 0x18]
00000A7C 2854 movea.l A4, [A4]
00000A7E 486C 0002 pea.l [A4 + 0x2]
00000A82 486D FFD8 pea.l [A5 - 0x28]
00000A86 A8A5 syscall FillRect
00000A88 486D FFE0 pea.l [A5 - 0x20]
00000A8C A89D syscall PenPat
00000A8E 3F3C 0002 move.w -[A7], 0x2
00000A92 3F3C 0002 move.w -[A7], 0x2
00000A96 A89B syscall PenSize
00000A98 486D ED14 pea.l [A5 - 0x12EC]
00000A9C A8A1 syscall FrameRect
00000A9E 486D E9C0 pea.l [A5 - 0x1640]
00000AA2 A8A1 syscall FrameRect
00000AA4 A89E syscall PenNormal
00000AA6 4A2D E9B2 tst.b [A5 - 0x164E]
00000AAA 6700 0038 beq +0x3A /* 00000AE4 */
00000AAE 286D E9B4 movea.l A4, [A5 - 0x164C]
00000AB2 2854 movea.l A4, [A4]
00000AB4 2B6C 0002 FDF0 move.l [A5 - 0x210], [A4 + 0x2]
00000ABA 2B6C 0006 FDF4 move.l [A5 - 0x20C], [A4 + 0x6]
00000AC0 486D FDF0 pea.l [A5 - 0x210]
00000AC4 3E2D ED1A move.w D7, [A5 - 0x12E6]
00000AC8 9E6D FDF2 sub.w D7, [A5 - 0x20E]
00000ACC 3F07 move.w -[A7], D7
00000ACE 3E3C 0050 move.w D7, 0x50 /* 'P' */
00000AD2 9E6D FDF0 sub.w D7, [A5 - 0x210]
00000AD6 3F07 move.w -[A7], D7
00000AD8 A8A8 syscall OffsetRect
00000ADA 2F2D E9B4 move.l -[A7], [A5 - 0x164C]
00000ADE 486D FDF0 pea.l [A5 - 0x210]
00000AE2 A8F6 syscall DrawPicture
label00000AE4:
00000AE4 486D ED0C pea.l [A5 - 0x12F4]
00000AE8 A8A3 syscall EraseRect
00000AEA 0C6D 0001 ED1C cmpi.w [A5 - 0x12E4], 0x1
00000AF0 6600 000E bne +0x10 /* 00000B00 */
00000AF4 286D F9C2 movea.l A4, [A5 - 0x63E]
00000AF8 2F2C 0018 move.l -[A7], [A4 + 0x18]
00000AFC 4EBA FF04 jsr [PC - 0xFC /* 00000A02 */]
label00000B00:
00000B00 486D ED0C pea.l [A5 - 0x12F4]
00000B04 A8A1 syscall FrameRect
00000B06 486D ECFC pea.l [A5 - 0x1304]
00000B0A 486D FFE8 pea.l [A5 - 0x18]
00000B0E A8A5 syscall FillRect
00000B10 2F2D F9C2 move.l -[A7], [A5 - 0x63E]
00000B14 A969 syscall DrawControls
00000B16 4CDF 1080 movem.l D7,A4, [A7]+
00000B1A 4E5E unlink A6
00000B1C 4E75 rts
fn00000B1E:
00000B1E 4E56 FFF4 link A6, -0x000C
00000B22 48E7 0708 movem.l -[A7], D5,D6,D7,A4
00000B26 3F3C 0002 move.w -[A7], 0x2
00000B2A 3F3C 0001 move.w -[A7], 0x1
00000B2E A89B syscall PenSize
00000B30 3F2D EDCA move.w -[A7], [A5 - 0x1236]
00000B34 3F2D EDC4 move.w -[A7], [A5 - 0x123C]
00000B38 A893 syscall MoveTo
00000B3A 3F2D EDCA move.w -[A7], [A5 - 0x1236]
00000B3E 3F2D EDC0 move.w -[A7], [A5 - 0x1240]
00000B42 A891 syscall LineTo
00000B44 3F3C 0001 move.w -[A7], 0x1
00000B48 3F3C 0001 move.w -[A7], 0x1
00000B4C A89B syscall PenSize
00000B4E 486D EDBC pea.l [A5 - 0x1244]
00000B52 A87B syscall ClipRect
00000B54 558F subq.l A7, 2
00000B56 286D EF00 movea.l A4, [A5 - 0x1100]
00000B5A 2854 movea.l A4, [A4]
00000B5C 486C 0002 pea.l [A4 + 0x2]
00000B60 286D F9BA movea.l A4, [A5 - 0x646]
00000B64 286C 0018 movea.l A4, [A4 + 0x18]
00000B68 2854 movea.l A4, [A4]
00000B6A 486C 0002 pea.l [A4 + 0x2]
00000B6E 4EBA 37CA jsr [PC + 0x37CA /* 0000433A */]
00000B72 1E1F move.b D7, [A7]+
00000B74 6700 0034 beq +0x36 /* 00000BAA */
00000B78 286D EF00 movea.l A4, [A5 - 0x1100]
00000B7C 2854 movea.l A4, [A4]
00000B7E 486C 0002 pea.l [A4 + 0x2]
00000B82 486D ECE4 pea.l [A5 - 0x131C]
00000B86 A8A5 syscall FillRect
00000B88 486D FF16 pea.l [A5 - 0xEA]
00000B8C 286D F9BA movea.l A4, [A5 - 0x646]
00000B90 486C 0002 pea.l [A4 + 0x2]
00000B94 486D EF08 pea.l [A5 - 0x10F8]
00000B98 286D EF00 movea.l A4, [A5 - 0x1100]
00000B9C 2854 movea.l A4, [A4]
00000B9E 486C 0002 pea.l [A4 + 0x2]
00000BA2 4267 clr.w -[A7]
00000BA4 2F2D EF00 move.l -[A7], [A5 - 0x1100]
00000BA8 A8EC syscall CopyBits
label00000BAA:
00000BAA 3E3C 0002 move.w D7, 0x2
00000BAE 3D47 FFF6 move.w [A6 - 0xA], D7
00000BB2 BE6D F98C cmp.w D7, [A5 - 0x674]
00000BB6 6E00 00B8 bgt +0xBA /* 00000C70 */
00000BBA 3D6D F98C FFF4 move.w [A6 - 0xC], [A5 - 0x674]
label00000BC0:
00000BC0 3C07 move.w D6, D7
00000BC2 5346 subq.w D6, 1
00000BC4 CDFC 0012 muls.w D6, 0x12
00000BC8 49ED EF00 lea.l A4, [A5 - 0x1100]
00000BCC 0C74 0002 6010 cmpi.w [A4 + D6.w + 0x10], 0x2
00000BD2 6600 008A bne +0x8C /* 00000C5E */
00000BD6 558F subq.l A7, 2
00000BD8 3C07 move.w D6, D7
00000BDA 5346 subq.w D6, 1
00000BDC CDFC 0012 muls.w D6, 0x12
00000BE0 49ED EF00 lea.l A4, [A5 - 0x1100]
00000BE4 2874 6000 movea.l A4, [A4 + D6.w]
00000BE8 2854 movea.l A4, [A4]
00000BEA 486C 0002 pea.l [A4 + 0x2]
00000BEE 286D F9BA movea.l A4, [A5 - 0x646]
00000BF2 286C 0018 movea.l A4, [A4 + 0x18]
00000BF6 2854 movea.l A4, [A4]
00000BF8 486C 0002 pea.l [A4 + 0x2]
00000BFC 4EBA 373C jsr [PC + 0x373C /* 0000433A */]
00000C00 1C1F move.b D6, [A7]+
00000C02 6700 005A beq +0x5C /* 00000C5E */
00000C06 486D FF16 pea.l [A5 - 0xEA]
00000C0A 286D F9BA movea.l A4, [A5 - 0x646]
00000C0E 486C 0002 pea.l [A4 + 0x2]
00000C12 3C07 move.w D6, D7
00000C14 5346 subq.w D6, 1
00000C16 CDFC 0012 muls.w D6, 0x12
00000C1A 49ED EF00 lea.l A4, [A5 - 0x1100]
00000C1E 4874 6008 pea.l [A4 + D6.w + 0x8]
00000C22 3C07 move.w D6, D7
00000C24 5346 subq.w D6, 1
00000C26 CDFC 0012 muls.w D6, 0x12
00000C2A 49ED EF00 lea.l A4, [A5 - 0x1100]
00000C2E 2874 6000 movea.l A4, [A4 + D6.w]
00000C32 2854 movea.l A4, [A4]
00000C34 486C 0002 pea.l [A4 + 0x2]
00000C38 4267 clr.w -[A7]
00000C3A 3C07 move.w D6, D7
00000C3C 5346 subq.w D6, 1
00000C3E CDFC 0012 muls.w D6, 0x12
00000C42 49ED EF00 lea.l A4, [A5 - 0x1100]
00000C46 2F34 6000 move.l -[A7], [A4 + D6.w]
00000C4A A8EC syscall CopyBits
00000C4C 3C07 move.w D6, D7
00000C4E 5346 subq.w D6, 1
00000C50 CDFC 0012 muls.w D6, 0x12
00000C54 49ED EF00 lea.l A4, [A5 - 0x1100]
00000C58 2F34 6000 move.l -[A7], [A4 + D6.w]
00000C5C A8D2 syscall FrameRgn
label00000C5E:
00000C5E BE6E FFF4 cmp.w D7, [A6 - 0xC]
00000C62 6C00 000C bge +0xE /* 00000C70 */
00000C66 5247 addq.w D7, 1
00000C68 3D47 FFF6 move.w [A6 - 0xA], D7
00000C6C 4EFA FF52 jmp [PC - 0xAE /* 00000BC0 */]
label00000C70:
00000C70 286D F9BA movea.l A4, [A5 - 0x646]
00000C74 486C 0010 pea.l [A4 + 0x10]
00000C78 A87B syscall ClipRect
00000C7A 3E2D EDCE move.w D7, [A5 - 0x1232]
00000C7E 3D47 FFF6 move.w [A6 - 0xA], D7
00000C82 BE6D EDCC cmp.w D7, [A5 - 0x1234]
00000C86 6E00 0100 bgt +0x102 /* 00000D88 */
00000C8A 3D6D EDCC FFF4 move.w [A6 - 0xC], [A5 - 0x1234]
label00000C90:
00000C90 3C07 move.w D6, D7
00000C92 5346 subq.w D6, 1
00000C94 DC46 add.w D6, D6
00000C96 49ED EDD0 lea.l A4, [A5 - 0x1230]
00000C9A 3A34 6000 move.w D5, [A4 + D6.w]
00000C9E 5345 subq.w D5, 1
00000CA0 CBFC 0012 muls.w D5, 0x12
00000CA4 49ED EF00 lea.l A4, [A5 - 0x1100]
00000CA8 0C74 0001 5010 cmpi.w [A4 + D5.w + 0x10], 0x1
00000CAE 6600 00C6 bne +0xC8 /* 00000D76 */
00000CB2 558F subq.l A7, 2
00000CB4 3C07 move.w D6, D7
00000CB6 5346 subq.w D6, 1
00000CB8 DC46 add.w D6, D6
00000CBA 49ED EDD0 lea.l A4, [A5 - 0x1230]
00000CBE 3A34 6000 move.w D5, [A4 + D6.w]
00000CC2 5345 subq.w D5, 1
00000CC4 CBFC 0012 muls.w D5, 0x12
00000CC8 49ED EF00 lea.l A4, [A5 - 0x1100]
00000CCC 2874 5000 movea.l A4, [A4 + D5.w]
00000CD0 2854 movea.l A4, [A4]
00000CD2 486C 0002 pea.l [A4 + 0x2]
00000CD6 286D F9BA movea.l A4, [A5 - 0x646]
00000CDA 286C 0018 movea.l A4, [A4 + 0x18]
00000CDE 2854 movea.l A4, [A4]
00000CE0 486C 0002 pea.l [A4 + 0x2]
00000CE4 4EBA 3654 jsr [PC + 0x3654 /* 0000433A */]
00000CE8 1C1F move.b D6, [A7]+
00000CEA 6700 008A beq +0x8C /* 00000D76 */
00000CEE 486D FF16 pea.l [A5 - 0xEA]
00000CF2 286D F9BA movea.l A4, [A5 - 0x646]
00000CF6 486C 0002 pea.l [A4 + 0x2]
00000CFA 3C07 move.w D6, D7
00000CFC 5346 subq.w D6, 1
00000CFE DC46 add.w D6, D6
00000D00 49ED EDD0 lea.l A4, [A5 - 0x1230]
00000D04 3A34 6000 move.w D5, [A4 + D6.w]
00000D08 5345 subq.w D5, 1
00000D0A CBFC 0012 muls.w D5, 0x12
00000D0E 49ED EF00 lea.l A4, [A5 - 0x1100]
00000D12 4874 5008 pea.l [A4 + D5.w + 0x8]
00000D16 3C07 move.w D6, D7
00000D18 5346 subq.w D6, 1
00000D1A DC46 add.w D6, D6
00000D1C 49ED EDD0 lea.l A4, [A5 - 0x1230]
00000D20 3A34 6000 move.w D5, [A4 + D6.w]
00000D24 5345 subq.w D5, 1
00000D26 CBFC 0012 muls.w D5, 0x12
00000D2A 49ED EF00 lea.l A4, [A5 - 0x1100]
00000D2E 2874 5000 movea.l A4, [A4 + D5.w]
00000D32 2854 movea.l A4, [A4]
00000D34 486C 0002 pea.l [A4 + 0x2]
00000D38 4267 clr.w -[A7]
00000D3A 3C07 move.w D6, D7
00000D3C 5346 subq.w D6, 1
00000D3E DC46 add.w D6, D6
00000D40 49ED EDD0 lea.l A4, [A5 - 0x1230]
00000D44 3A34 6000 move.w D5, [A4 + D6.w]
00000D48 5345 subq.w D5, 1
00000D4A CBFC 0012 muls.w D5, 0x12
00000D4E 49ED EF00 lea.l A4, [A5 - 0x1100]
00000D52 2F34 5000 move.l -[A7], [A4 + D5.w]
00000D56 A8EC syscall CopyBits
00000D58 3C07 move.w D6, D7
00000D5A 5346 subq.w D6, 1
00000D5C DC46 add.w D6, D6
00000D5E 49ED EDD0 lea.l A4, [A5 - 0x1230]
00000D62 3A34 6000 move.w D5, [A4 + D6.w]
00000D66 5345 subq.w D5, 1
00000D68 CBFC 0012 muls.w D5, 0x12
00000D6C 49ED EF00 lea.l A4, [A5 - 0x1100]
00000D70 2F34 5000 move.l -[A7], [A4 + D5.w]
00000D74 A8D2 syscall FrameRgn
label00000D76:
00000D76 BE6E FFF4 cmp.w D7, [A6 - 0xC]
00000D7A 6C00 000C bge +0xE /* 00000D88 */
00000D7E 5247 addq.w D7, 1
00000D80 3D47 FFF6 move.w [A6 - 0xA], D7
00000D84 4EFA FF0A jmp [PC - 0xF6 /* 00000C90 */]
label00000D88:
00000D88 558F subq.l A7, 2
00000D8A 286D EEFC movea.l A4, [A5 - 0x1104]
00000D8E 2854 movea.l A4, [A4]
00000D90 486C 0008 pea.l [A4 + 0x8]
00000D94 286D F9BA movea.l A4, [A5 - 0x646]
00000D98 286C 0018 movea.l A4, [A4 + 0x18]
00000D9C 2854 movea.l A4, [A4]
00000D9E 486C 0002 pea.l [A4 + 0x2]
00000DA2 4EBA 3596 jsr [PC + 0x3596 /* 0000433A */]
00000DA6 1E1F move.b D7, [A7]+
00000DA8 6700 0008 beq +0xA /* 00000DB2 */
00000DAC 2F2D F9BA move.l -[A7], [A5 - 0x646]
00000DB0 A969 syscall DrawControls
label00000DB2:
00000DB2 4CDF 10E0 movem.l D5,D6,D7,A4, [A7]+
00000DB6 4E5E unlink A6
00000DB8 4E75 rts
fn00000DBA:
00000DBA 4E56 FFF8 link A6, -0x0008
00000DBE 48E7 0108 movem.l -[A7], D7,A4
00000DC2 286D EA40 movea.l A4, [A5 - 0x15C0]
00000DC6 2854 movea.l A4, [A4]
00000DC8 2F2C 0008 move.l -[A7], [A4 + 0x8]
00000DCC 286D EA40 movea.l A4, [A5 - 0x15C0]
00000DD0 2854 movea.l A4, [A4]
00000DD2 2F0C move.l -[A7], A4
00000DD4 A8F6 syscall DrawPicture
00000DD6 3F3C 0003 move.w -[A7], 0x3
00000DDA A887 syscall TextFont
00000DDC 3F3C 000C move.w -[A7], 0xC
00000DE0 A88A syscall TextSize
00000DE2 1E3C 0000 move.b D7, 0x0
00000DE6 1B47 EA06 move.b [A5 - 0x15FA], D7
00000DEA 0C07 0004 cmpi.b D7, 0x4
00000DEE 6E00 001A bgt +0x1C /* 00000E0A */
label00000DF2:
00000DF2 1F07 move.b -[A7], D7
00000DF4 4EBA 5058 jsr [PC + 0x5058 /* 00005E4E */]
00000DF8 0C07 0004 cmpi.b D7, 0x4
00000DFC 6C00 000C bge +0xE /* 00000E0A */
00000E00 5207 addq.b D7, 1
00000E02 1B47 EA06 move.b [A5 - 0x15FA], D7
00000E06 4EFA FFEA jmp [PC - 0x16 /* 00000DF2 */]
label00000E0A:
00000E0A 2F2D F9B2 move.l -[A7], [A5 - 0x64E]
00000E0E A969 syscall DrawControls
00000E10 4A6D EDBA tst.w [A5 - 0x1246]
00000E14 6600 005A bne +0x5C /* 00000E70 */
00000E18 2F2D E9EE move.l -[A7], [A5 - 0x1612]
00000E1C 286D E9EE movea.l A4, [A5 - 0x1612]
00000E20 2854 movea.l A4, [A4]
00000E22 486C 0002 pea.l [A4 + 0x2]
00000E26 A8F6 syscall DrawPicture
00000E28 486E FFF8 pea.l [A6 - 0x8]
00000E2C 3F3C 008E move.w -[A7], 0x8E
00000E30 3F3C FFFF move.w -[A7], 0xFFFF
00000E34 286D F9B2 movea.l A4, [A5 - 0x64E]
00000E38 3E2C 0016 move.w D7, [A4 + 0x16]
00000E3C 5247 addq.w D7, 1
00000E3E 3F07 move.w -[A7], D7
00000E40 3F3C 0081 move.w -[A7], 0x81
00000E44 A8A7 syscall SetRect
00000E46 486E FFF8 pea.l [A6 - 0x8]
00000E4A 486D FFD8 pea.l [A5 - 0x28]
00000E4E A8A5 syscall FillRect
00000E50 486E FFF8 pea.l [A6 - 0x8]
00000E54 A8A1 syscall FrameRect
00000E56 486D FF16 pea.l [A5 - 0xEA]
00000E5A 286D F9B2 movea.l A4, [A5 - 0x64E]
00000E5E 486C 0002 pea.l [A4 + 0x2]
00000E62 486D FF1C pea.l [A5 - 0xE4]
00000E66 486D E9E6 pea.l [A5 - 0x161A]
00000E6A 4267 clr.w -[A7]
00000E6C 42A7 clr.l -[A7]
00000E6E A8EC syscall CopyBits
label00000E70:
00000E70 4CDF 1080 movem.l D7,A4, [A7]+
00000E74 4E5E unlink A6
00000E76 4E75 rts
fn00000E78:
00000E78 4E56 0000 link A6, 0
00000E7C 48E7 0108 movem.l -[A7], D7,A4
00000E80 49ED FFF8 lea.l A4, [A5 - 0x8]
00000E84 2F0C move.l -[A7], A4
00000E86 A86E syscall InitGraf
00000E88 4EBA 2DDC jsr [PC + 0x2DDC /* 00003C66 */]
00000E8C 4EBA 2DD8 jsr [PC + 0x2DD8 /* 00003C66 */]
00000E90 4EBA 2DD4 jsr [PC + 0x2DD4 /* 00003C66 */]
00000E94 4EBA 2DD0 jsr [PC + 0x2DD0 /* 00003C66 */]
00000E98 4EBA 2DCC jsr [PC + 0x2DCC /* 00003C66 */]
00000E9C 4EBA 2DC8 jsr [PC + 0x2DC8 /* 00003C66 */]
00000EA0 598F subq.l A7, 4
00000EA2 3F3C 0004 move.w -[A7], 0x4
00000EA6 A9B9 syscall GetCursor
00000EA8 2E1F move.l D7, [A7]+
00000EAA 2B47 F9AE move.l [A5 - 0x652], D7
00000EAE 598F subq.l A7, 4
00000EB0 3F3C 0080 move.w -[A7], 0x80
00000EB4 A9B9 syscall GetCursor
00000EB6 2E1F move.l D7, [A7]+
00000EB8 2B47 ECF8 move.l [A5 - 0x1308], D7
00000EBC 2F2D F9AE move.l -[A7], [A5 - 0x652]
00000EC0 4EBA 2D90 jsr [PC + 0x2D90 /* 00003C52 */]
00000EC4 2F2D ECF8 move.l -[A7], [A5 - 0x1308]
00000EC8 4EBA 2D88 jsr [PC + 0x2D88 /* 00003C52 */]
00000ECC 286D F9AE movea.l A4, [A5 - 0x652]
00000ED0 2854 movea.l A4, [A4]
00000ED2 2F0C move.l -[A7], A4
00000ED4 A851 syscall SetCursor
00000ED6 A8FE syscall InitFonts
00000ED8 A912 syscall InitWindows
00000EDA A930 syscall InitMenus
00000EDC A9CC syscall TEInit
00000EDE 42A7 clr.l -[A7]
00000EE0 A97B syscall InitDialogs
00000EE2 422D F9AC clr.b [A5 - 0x654]
00000EE6 3F3C FFFF move.w -[A7], 0xFFFF
00000EEA 4267 clr.w -[A7]
00000EEC 201F move.l D0, [A7]+
00000EEE A032 syscall FlushEvents
00000EF0 2B6D FF84 FCE2 move.l [A5 - 0x31E], [A5 - 0x7C]
00000EF6 2B6D FF88 FCE6 move.l [A5 - 0x31A], [A5 - 0x78]
00000EFC 486D FCDA pea.l [A5 - 0x326]
00000F00 3E2D FCE4 move.w D7, [A5 - 0x31C]
00000F04 5847 addq.w D7, 4
00000F06 3F07 move.w -[A7], D7
00000F08 3E2D FCE2 move.w D7, [A5 - 0x31E]
00000F0C 0647 0018 addi.w D7, 0x18
00000F10 3F07 move.w -[A7], D7
00000F12 3E2D FCE8 move.w D7, [A5 - 0x318]
00000F16 5947 subq.w D7, 4
00000F18 3F07 move.w -[A7], D7
00000F1A 3E2D FCE6 move.w D7, [A5 - 0x31A]
00000F1E 5947 subq.w D7, 4
00000F20 3F07 move.w -[A7], D7
00000F22 A8A7 syscall SetRect
00000F24 486D FCD2 pea.l [A5 - 0x32E]
00000F28 3F2D FCE4 move.w -[A7], [A5 - 0x31C]
00000F2C 3E2D FCE2 move.w D7, [A5 - 0x31E]
00000F30 0647 0018 addi.w D7, 0x18
00000F34 3F07 move.w -[A7], D7
00000F36 3F2D FCE8 move.w -[A7], [A5 - 0x318]
00000F3A 3F2D FCE6 move.w -[A7], [A5 - 0x31A]
00000F3E A8A7 syscall SetRect
00000F40 558F subq.l A7, 2
00000F42 A994 syscall CurResFile
00000F44 3E1F move.w D7, [A7]+
00000F46 3B47 E9C8 move.w [A5 - 0x1638], D7
00000F4A 4CDF 1080 movem.l D7,A4, [A7]+
00000F4E 4E5E unlink A6
00000F50 4E75 rts
fn00000F52:
00000F52 4E56 FFF8 link A6, -0x0008
00000F56 48E7 0100 movem.l -[A7], D7
00000F5A 2D6D FF1C FFF8 move.l [A6 - 0x8], [A5 - 0xE4]
00000F60 2D6D FF20 FFFC move.l [A6 - 0x4], [A5 - 0xE0]
00000F66 2B6D FF1C EDB0 move.l [A5 - 0x1250], [A5 - 0xE4]
00000F6C 2B6D FF20 EDB4 move.l [A5 - 0x124C], [A5 - 0xE0]
00000F72 486E FFF8 pea.l [A6 - 0x8]
00000F76 3F3C 0001 move.w -[A7], 0x1
00000F7A 3F3C 0001 move.w -[A7], 0x1
00000F7E A8A9 syscall InsetRect
00000F80 486D EDB0 pea.l [A5 - 0x1250]
00000F84 3F3C FFFF move.w -[A7], 0xFFFF
00000F88 3F3C FFFF move.w -[A7], 0xFFFF
00000F8C A8A8 syscall OffsetRect
00000F8E 2F2D F9BE move.l -[A7], [A5 - 0x642]
00000F92 3E2E FFFE move.w D7, [A6 - 0x2]
00000F96 9E6E FFFA sub.w D7, [A6 - 0x6]
00000F9A 3F07 move.w -[A7], D7
00000F9C 3E2E FFFC move.w D7, [A6 - 0x4]
00000FA0 9E6E FFF8 sub.w D7, [A6 - 0x8]
00000FA4 3F07 move.w -[A7], D7
00000FA6 1F3C 0001 move.b -[A7], 0x1
00000FAA A91D syscall SizeWindow
00000FAC 2F2D F9BE move.l -[A7], [A5 - 0x642]
00000FB0 3E2D FCE8 move.w D7, [A5 - 0x318]
00000FB4 5547 subq.w D7, 2
00000FB6 9E6E FFFE sub.w D7, [A6 - 0x2]
00000FBA 3F07 move.w -[A7], D7
00000FBC 3E2D FCE6 move.w D7, [A5 - 0x31A]
00000FC0 5547 subq.w D7, 2
00000FC2 9E6E FFFC sub.w D7, [A6 - 0x4]
00000FC6 3F07 move.w -[A7], D7
00000FC8 4227 clr.b -[A7]
00000FCA A91B syscall MoveWindow
00000FCC 4CDF 0080 movem.l D7, [A7]+
00000FD0 4E5E unlink A6
00000FD2 4E75 rts
fn00000FD4:
00000FD4 4E56 FFEE link A6, -0x0012
00000FD8 48E7 0108 movem.l -[A7], D7,A4
00000FDC 486E FFF0 pea.l [A6 - 0x10]
00000FE0 4267 clr.w -[A7]
00000FE2 4267 clr.w -[A7]
00000FE4 3F3C 0400 move.w -[A7], 0x400
00000FE8 3F3C 04B0 move.w -[A7], 0x4B0
00000FEC A8A7 syscall SetRect
00000FEE 598F subq.l A7, 4
00000FF0 3F3C 0081 move.w -[A7], 0x81
00000FF4 49ED FB9A lea.l A4, [A5 - 0x466]
00000FF8 2F0C move.l -[A7], A4
00000FFA 42A7 clr.l -[A7]
00000FFC A9BD syscall GetNewWindow
00000FFE 2E1F move.l D7, [A7]+
00001000 2B47 F9BE move.l [A5 - 0x642], D7
00001004 2F2D F9BE move.l -[A7], [A5 - 0x642]
00001008 A873 syscall SetPort
0000100A 486E FFF0 pea.l [A6 - 0x10]
0000100E A87B syscall ClipRect
00001010 598F subq.l A7, 4
00001012 3F3C 0080 move.w -[A7], 0x80
00001016 49ED FC36 lea.l A4, [A5 - 0x3CA]
0000101A 2F0C move.l -[A7], A4
0000101C 2F3C FFFF FFFF move.l -[A7], 0xFFFFFFFF
00001022 A9BD syscall GetNewWindow
00001024 2E1F move.l D7, [A7]+
00001026 2B47 F9C2 move.l [A5 - 0x63E], D7
0000102A 2F2D F9C2 move.l -[A7], [A5 - 0x63E]
0000102E A873 syscall SetPort
00001030 486E FFF0 pea.l [A6 - 0x10]
00001034 A87B syscall ClipRect
00001036 2F2D F9C2 move.l -[A7], [A5 - 0x63E]
0000103A 487A 02A8 pea.l [PC + 0x2A8 /* 000012E4, value 0x13456469, pstring "Edit Puzzle Picture" */]
0000103E A91A syscall SetWTitle
00001040 598F subq.l A7, 4
00001042 3F3C 0082 move.w -[A7], 0x82
00001046 49ED FAFE lea.l A4, [A5 - 0x502]
0000104A 2F0C move.l -[A7], A4
0000104C 42A7 clr.l -[A7]
0000104E A9BD syscall GetNewWindow
00001050 2E1F move.l D7, [A7]+
00001052 2B47 F9BA move.l [A5 - 0x646], D7
00001056 2F2D F9BA move.l -[A7], [A5 - 0x646]
0000105A A873 syscall SetPort
0000105C 486E FFF0 pea.l [A6 - 0x10]
00001060 A87B syscall ClipRect
00001062 598F subq.l A7, 4
00001064 2F3A 027A move.l -[A7], [PC + 0x27A /* 000012E0, value 0x50425858 'PBXX' */]
00001068 3F3C 0080 move.w -[A7], 0x80
0000106C A9A0 syscall GetResource
0000106E 2E1F move.l D7, [A7]+
00001070 2B47 EA48 move.l [A5 - 0x15B8], D7
00001074 286D EA48 movea.l A4, [A5 - 0x15B8]
00001078 2854 movea.l A4, [A4]
0000107A 598F subq.l A7, 4
0000107C 2F3A 025E move.l -[A7], [PC + 0x25E /* 000012DC, value 0x50494354 'PICT' */]
00001080 3F3C 75CB move.w -[A7], 0x75CB
00001084 A9A0 syscall GetResource
00001086 2E1F move.l D7, [A7]+
00001088 2947 0008 move.l [A4 + 0x8], D7
0000108C 598F subq.l A7, 4
0000108E 49ED FA62 lea.l A4, [A5 - 0x59E]
00001092 2F0C move.l -[A7], A4
00001094 286D EA48 movea.l A4, [A5 - 0x15B8]
00001098 2854 movea.l A4, [A4]
0000109A 2F0C move.l -[A7], A4
0000109C 487A 023C pea.l [PC + 0x23C /* 000012DA, value 0x5049 'PI', cstring "" */]
000010A0 4227 clr.b -[A7]
000010A2 3F3C 0003 move.w -[A7], 0x3
000010A6 2F2D F9BA move.l -[A7], [A5 - 0x646]
000010AA 4227 clr.b -[A7]
000010AC 42A7 clr.l -[A7]
000010AE A913 syscall NewWindow
000010B0 2E1F move.l D7, [A7]+
000010B2 2B47 F9B6 move.l [A5 - 0x64A], D7
000010B6 286D EA48 movea.l A4, [A5 - 0x15B8]
000010BA 2854 movea.l A4, [A4]
000010BC 296D FFE8 0144 move.l [A4 + 0x144], [A5 - 0x18]
000010C2 296D FFEC 0148 move.l [A4 + 0x148], [A5 - 0x14]
000010C8 286D EA48 movea.l A4, [A5 - 0x15B8]
000010CC 2854 movea.l A4, [A4]
000010CE 486C 000C pea.l [A4 + 0xC]
000010D2 3F3C 0001 move.w -[A7], 0x1
000010D6 3F3C 0001 move.w -[A7], 0x1
000010DA A8A9 syscall InsetRect
000010DC 2F2D F9B6 move.l -[A7], [A5 - 0x64A]
000010E0 A873 syscall SetPort
000010E2 486E FFF0 pea.l [A6 - 0x10]
000010E6 A87B syscall ClipRect
000010E8 598F subq.l A7, 4
000010EA 2F3A 01EA move.l -[A7], [PC + 0x1EA /* 000012D6, value 0x53425858 'SBXX', cstring "SBXX" */]
000010EE 3F3C 0080 move.w -[A7], 0x80
000010F2 A9A0 syscall GetResource
000010F4 2E1F move.l D7, [A7]+
000010F6 2B47 EA40 move.l [A5 - 0x15C0], D7
000010FA 286D EA40 movea.l A4, [A5 - 0x15C0]
000010FE 2854 movea.l A4, [A4]
00001100 598F subq.l A7, 4
00001102 2F3A 01CE move.l -[A7], [PC + 0x1CE /* 000012D2, value 0x50494354 'PICT', cstring "PICTSBXX" */]
00001106 3F3C 75CC move.w -[A7], 0x75CC
0000110A A9A0 syscall GetResource
0000110C 2E1F move.l D7, [A7]+
0000110E 2947 0008 move.l [A4 + 0x8], D7
00001112 598F subq.l A7, 4
00001114 2F3A 01B8 move.l -[A7], [PC + 0x1B8 /* 000012CE, value 0x50494354 'PICT', cstring "PICTPICTSBXX" */]
00001118 3F3C 75CD move.w -[A7], 0x75CD
0000111C A9A0 syscall GetResource
0000111E 2E1F move.l D7, [A7]+
00001120 2B47 E9EE move.l [A5 - 0x1612], D7
00001124 598F subq.l A7, 4
00001126 49ED F9C6 lea.l A4, [A5 - 0x63A]
0000112A 2F0C move.l -[A7], A4
0000112C 286D EA40 movea.l A4, [A5 - 0x15C0]
00001130 2854 movea.l A4, [A4]
00001132 2F0C move.l -[A7], A4
00001134 487A 0190 pea.l [PC + 0x190 /* 000012C6, value 0x6537461, pstring "Status" */]
00001138 4227 clr.b -[A7]
0000113A 3F3C 0810 move.w -[A7], 0x810
0000113E 2F2D F9BA move.l -[A7], [A5 - 0x646]
00001142 1F3C 0001 move.b -[A7], 0x1
00001146 42A7 clr.l -[A7]
00001148 A913 syscall NewWindow
0000114A 2E1F move.l D7, [A7]+
0000114C 2B47 F9B2 move.l [A5 - 0x64E], D7
00001150 486E FFF8 pea.l [A6 - 0x8]
00001154 4267 clr.w -[A7]
00001156 4267 clr.w -[A7]
00001158 3F3C 004E move.w -[A7], 0x4E /* 'N' */
0000115C 3F3C 0015 move.w -[A7], 0x15
00001160 A8A7 syscall SetRect
00001162 486E FFF8 pea.l [A6 - 0x8]
00001166 3F3C 003A move.w -[A7], 0x3A /* ':' */
0000116A 3F3C 004F move.w -[A7], 0x4F /* 'O' */
0000116E A8A8 syscall OffsetRect
00001170 598F subq.l A7, 4
00001172 2F2D F9B2 move.l -[A7], [A5 - 0x64E]
00001176 486E FFF8 pea.l [A6 - 0x8]
0000117A 487A 0144 pea.l [PC + 0x144 /* 000012C0, value 0x5504155, pstring "PAUSE" */]
0000117E 1F3C 0001 move.b -[A7], 0x1
00001182 4267 clr.w -[A7]
00001184 4267 clr.w -[A7]
00001186 4267 clr.w -[A7]
00001188 4267 clr.w -[A7]
0000118A 42A7 clr.l -[A7]
0000118C A954 syscall NewControl
0000118E 2E1F move.l D7, [A7]+
00001190 2B47 EA44 move.l [A5 - 0x15BC], D7
00001194 2F2D F9B2 move.l -[A7], [A5 - 0x64E]
00001198 A873 syscall SetPort
0000119A 486E FFF0 pea.l [A6 - 0x10]
0000119E A87B syscall ClipRect
000011A0 3F3C 0003 move.w -[A7], 0x3
000011A4 A887 syscall TextFont
000011A6 3F3C 000C move.w -[A7], 0xC
000011AA A88A syscall TextSize
000011AC 286D F9BA movea.l A4, [A5 - 0x646]
000011B0 2D6C 0010 FFF8 move.l [A6 - 0x8], [A4 + 0x10]
000011B6 2D6C 0014 FFFC move.l [A6 - 0x4], [A4 + 0x14]
000011BC 3E2E FFFC move.w D7, [A6 - 0x4]
000011C0 0447 0010 subi.w D7, 0x10
000011C4 3D47 FFF8 move.w [A6 - 0x8], D7
000011C8 3E2E FFFA move.w D7, [A6 - 0x6]
000011CC 0647 003C addi.w D7, 0x3C /* '<' */
000011D0 3D47 FFFE move.w [A6 - 0x2], D7
000011D4 486E FFF8 pea.l [A6 - 0x8]
000011D8 3F3C FFFF move.w -[A7], 0xFFFF
000011DC 3F3C 0001 move.w -[A7], 0x1
000011E0 A8A8 syscall OffsetRect
000011E2 598F subq.l A7, 4
000011E4 2F2D F9BA move.l -[A7], [A5 - 0x646]
000011E8 486E FFF8 pea.l [A6 - 0x8]
000011EC 487A 00D0 pea.l [PC + 0xD0 /* 000012BE, value 0x550, cstring "" */]
000011F0 1F3C 0001 move.b -[A7], 0x1
000011F4 4267 clr.w -[A7]
000011F6 4267 clr.w -[A7]
000011F8 3F3C 000F move.w -[A7], 0xF
000011FC 3F3C 0010 move.w -[A7], 0x10
00001200 42A7 clr.l -[A7]
00001202 A954 syscall NewControl
00001204 2E1F move.l D7, [A7]+
00001206 2B47 EEFC move.l [A5 - 0x1104], D7
0000120A 486E FFF0 pea.l [A6 - 0x10]
0000120E 3F3C 0005 move.w -[A7], 0x5
00001212 3F3C 0023 move.w -[A7], 0x23 /* '#' */
00001216 3F3C 0041 move.w -[A7], 0x41 /* 'A' */
0000121A 3F3C 003B move.w -[A7], 0x3B /* ';' */
0000121E A8A7 syscall SetRect
00001220 598F subq.l A7, 4
00001222 2F2D F9C2 move.l -[A7], [A5 - 0x63E]
00001226 486E FFF0 pea.l [A6 - 0x10]
0000122A 487A 008C pea.l [PC + 0x8C /* 000012B8, value 0x448454C, pstring "HELP" */]
0000122E 1F3C 0001 move.b -[A7], 0x1
00001232 4267 clr.w -[A7]
00001234 4267 clr.w -[A7]
00001236 4267 clr.w -[A7]
00001238 4267 clr.w -[A7]
0000123A 42A7 clr.l -[A7]
0000123C A954 syscall NewControl
0000123E 2E1F move.l D7, [A7]+
00001240 2B47 ED34 move.l [A5 - 0x12CC], D7
00001244 486E FFF0 pea.l [A6 - 0x10]
00001248 4267 clr.w -[A7]
0000124A 3F3C 0024 move.w -[A7], 0x24 /* '$' */
0000124E A8A8 syscall OffsetRect
00001250 598F subq.l A7, 4
00001252 2F2D F9C2 move.l -[A7], [A5 - 0x63E]
00001256 486E FFF0 pea.l [A6 - 0x10]
0000125A 487A 0054 pea.l [PC + 0x54 /* 000012B0, value 0x6504945, pstring "PIECES" */]
0000125E 1F3C 0001 move.b -[A7], 0x1
00001262 4267 clr.w -[A7]
00001264 4267 clr.w -[A7]
00001266 4267 clr.w -[A7]
00001268 4267 clr.w -[A7]
0000126A 42A7 clr.l -[A7]
0000126C A954 syscall NewControl
0000126E 2E1F move.l D7, [A7]+
00001270 2B47 ED30 move.l [A5 - 0x12D0], D7
00001274 486E FFF0 pea.l [A6 - 0x10]
00001278 4267 clr.w -[A7]
0000127A 3F3C 0024 move.w -[A7], 0x24 /* '$' */
0000127E A8A8 syscall OffsetRect
00001280 598F subq.l A7, 4
00001282 2F2D F9C2 move.l -[A7], [A5 - 0x63E]
00001286 486E FFF0 pea.l [A6 - 0x10]
0000128A 487A 0020 pea.l [PC + 0x20 /* 000012AC, value 0x24F4B00, pstring "OK" */]
0000128E 1F3C 0001 move.b -[A7], 0x1
00001292 4267 clr.w -[A7]
00001294 4267 clr.w -[A7]
00001296 4267 clr.w -[A7]
00001298 4267 clr.w -[A7]
0000129A 42A7 clr.l -[A7]
0000129C A954 syscall NewControl
0000129E 2E1F move.l D7, [A7]+
000012A0 2B47 ED2C move.l [A5 - 0x12D4], D7
000012A4 4CDF 1080 movem.l D7,A4, [A7]+
000012A8 4E5E unlink A6
000012AA 4E75 rts
000012AC 024F 4B00 andi.w A7, 0x4B00 /* 'K\0' */
000012B0 0650 4945 addi.w [A0], 0x4945 /* 'IE' */
000012B4 4345 chk.w D1, D5
000012B6 5300 subq.b D0, 1
000012B8 0448 454C subi.w A0, 0x454C /* 'EL' */
000012BC 5000 addq.b D0, 8
000012BE 0000 0550 ori.b D0, 0x50 /* 'P' */
000012C2 4155 chk.w D0, [A5]
000012C4 5345 subq.w D5, 1
000012C6 0653 7461 addi.w [A3], 0x7461 /* 'ta' */
000012CA 7475 moveq.l D2, 0x75
000012CC 7300 moveq.l D1, 0x00
000012CE 5049 addq.w A1, 8
000012D0 4354 chk.w D1, [A4]
000012D2 5049 addq.w A1, 8
000012D4 4354 chk.w D1, [A4]
000012D6 5342 subq.w D2, 1
000012D8 5858 addq.w [A0]+, 4
000012DA 0000 5049 ori.b D0, 0x49 /* 'I' */
000012DE 4354 chk.w D1, [A4]
000012E0 5042 addq.w D2, 8
000012E2 5858 addq.w [A0]+, 4
000012E4 1345 6469 move.b [A1 + 0x6469], D5
000012E8 7420 moveq.l D2, 0x20
000012EA 5075 7A7A addq.w [A5 + D7 * 2 + 0x7A], 8
000012EE 6C65 bge +0x67 /* 00001355 */
000012F0 2050 movea.l A0, [A0]
000012F2 6963 bvs +0x65 /* 00001357 */
000012F4 7475 moveq.l D2, 0x75
000012F6 7265 moveq.l D1, 0x65
fn000012F8:
000012F8 4E56 FFFC link A6, -0x0004
000012FC 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00001300 286D E9BC movea.l A4, [A5 - 0x1644]
00001304 2854 movea.l A4, [A4]
00001306 5294 addq.l [A4], 1
00001308 2F2D F992 move.l -[A7], [A5 - 0x66E]
0000130C 3F3C 0001 move.w -[A7], 0x1
00001310 A93A syscall DisableItem
00001312 2F2D F992 move.l -[A7], [A5 - 0x66E]
00001316 3F3C 0002 move.w -[A7], 0x2
0000131A A93A syscall DisableItem
0000131C 2F2D F992 move.l -[A7], [A5 - 0x66E]
00001320 3F3C 0004 move.w -[A7], 0x4
00001324 A93A syscall DisableItem
00001326 2F2D F992 move.l -[A7], [A5 - 0x66E]
0000132A 3F3C 0003 move.w -[A7], 0x3
0000132E A939 syscall EnableItem
00001330 2F2D F992 move.l -[A7], [A5 - 0x66E]
00001334 3F3C 0006 move.w -[A7], 0x6
00001338 A939 syscall EnableItem
0000133A 2F2D ED2C move.l -[A7], [A5 - 0x12D4]
0000133E 3F3C 00FF move.w -[A7], 0xFF
00001342 A95D syscall HiliteControl
00001344 2F2D F9C2 move.l -[A7], [A5 - 0x63E]
00001348 3F3C 01F8 move.w -[A7], 0x1F8
0000134C 3F3C 0132 move.w -[A7], 0x132
00001350 1F3C 0001 move.b -[A7], 0x1
00001354 A91D syscall SizeWindow
00001356 266D F9C2 movea.l A3, [A5 - 0x63E]
0000135A 3E2D FCE8 move.w D7, [A5 - 0x318]
0000135E 9E6D FCE4 sub.w D7, [A5 - 0x31C]
00001362 3C2B 0016 move.w D6, [A3 + 0x16]
00001366 9C6B 0012 sub.w D6, [A3 + 0x12]
0000136A 9E46 sub.w D7, D6
0000136C 48C7 ext.l D7
0000136E 8FFC 0002 divs.w D7, 0x2
00001372 3D47 FFFC move.w [A6 - 0x4], D7
00001376 3E2D FCE6 move.w D7, [A5 - 0x31A]
0000137A 9E6D FCE2 sub.w D7, [A5 - 0x31E]
0000137E 0647 FFE3 addi.w D7, 0xFFE3
00001382 3C2B 0014 move.w D6, [A3 + 0x14]
00001386 9C6B 0010 sub.w D6, [A3 + 0x10]
0000138A 9E46 sub.w D7, D6
0000138C 48C7 ext.l D7
0000138E 8FFC 0002 divs.w D7, 0x2
00001392 3D47 FFFE move.w [A6 - 0x2], D7
00001396 2F2D F9C2 move.l -[A7], [A5 - 0x63E]
0000139A 3E2D FCE4 move.w D7, [A5 - 0x31C]
0000139E DE6E FFFC add.w D7, [A6 - 0x4]
000013A2 3F07 move.w -[A7], D7
000013A4 3E2D FCE2 move.w D7, [A5 - 0x31E]
000013A8 0647 001C addi.w D7, 0x1C
000013AC DE6E FFFE add.w D7, [A6 - 0x2]
000013B0 3F07 move.w -[A7], D7
000013B2 1F3C 0001 move.b -[A7], 0x1
000013B6 A91B syscall MoveWindow
000013B8 2F2D F9C2 move.l -[A7], [A5 - 0x63E]
000013BC A873 syscall SetPort
000013BE 266D F9C2 movea.l A3, [A5 - 0x63E]
000013C2 486B 0010 pea.l [A3 + 0x10]
000013C6 A87B syscall ClipRect
000013C8 2F2D F9C2 move.l -[A7], [A5 - 0x63E]
000013CC A915 syscall ShowWindow
000013CE 2F2D F9C2 move.l -[A7], [A5 - 0x63E]
000013D2 A91F syscall SelectWindow
000013D4 426D ED1C clr.w [A5 - 0x12E4]
000013D8 266D F9C2 movea.l A3, [A5 - 0x63E]
000013DC 2B6B 0010 EDBC move.l [A5 - 0x1244], [A3 + 0x10]
000013E2 2B6B 0014 EDC0 move.l [A5 - 0x1240], [A3 + 0x14]
000013E8 2B6D EDBC ED14 move.l [A5 - 0x12EC], [A5 - 0x1244]
000013EE 2B6D EDC0 ED18 move.l [A5 - 0x12E8], [A5 - 0x1240]
000013F4 3B7C 003C ED16 move.w [A5 - 0x12EA], 0x3C /* '<' */
000013FA 486D ED14 pea.l [A5 - 0x12EC]
000013FE 3F3C 0014 move.w -[A7], 0x14
00001402 3F3C 0014 move.w -[A7], 0x14
00001406 A8A9 syscall InsetRect
00001408 2B6D ED14 E9C0 move.l [A5 - 0x1640], [A5 - 0x12EC]
0000140E 2B6D ED18 E9C4 move.l [A5 - 0x163C], [A5 - 0x12E8]
00001414 2B6D ED14 ED0C move.l [A5 - 0x12F4], [A5 - 0x12EC]
0000141A 3E2D ED0E move.w D7, [A5 - 0x12F2]
0000141E 0647 00F8 addi.w D7, 0xF8
00001422 3B47 ED12 move.w [A5 - 0x12EE], D7
00001426 3E2D ED0C move.w D7, [A5 - 0x12F4]
0000142A 0647 0096 addi.w D7, 0x96
0000142E 3B47 ED10 move.w [A5 - 0x12F0], D7
00001432 4A2D E9B2 tst.b [A5 - 0x164E]
00001436 6700 000E beq +0x10 /* 00001446 */
0000143A 2B6D ED0C ED14 move.l [A5 - 0x12EC], [A5 - 0x12F4]
00001440 2B6D ED10 ED18 move.l [A5 - 0x12E8], [A5 - 0x12F0]
label00001446:
00001446 2B6D ED10 ECFC move.l [A5 - 0x1304], [A5 - 0x12F0]
0000144C 3E2D ECFE move.w D7, [A5 - 0x1302]
00001450 5047 addq.w D7, 8
00001452 3B47 ED02 move.w [A5 - 0x12FE], D7
00001456 3E2D ECFC move.w D7, [A5 - 0x1304]
0000145A 5047 addq.w D7, 8
0000145C 3B47 ED00 move.w [A5 - 0x1300], D7
00001460 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+
00001464 4E5E unlink A6
00001466 4E75 rts
fn00001468:
00001468 4E56 0000 link A6, 0
0000146C 48E7 0100 movem.l -[A7], D7
00001470 2F2D F992 move.l -[A7], [A5 - 0x66E]
00001474 3F3C 0001 move.w -[A7], 0x1
00001478 A939 syscall EnableItem
0000147A 2F2D F992 move.l -[A7], [A5 - 0x66E]
0000147E 3F3C 0002 move.w -[A7], 0x2
00001482 A939 syscall EnableItem
00001484 2F2D F992 move.l -[A7], [A5 - 0x66E]
00001488 3F3C 0003 move.w -[A7], 0x3
0000148C A93A syscall DisableItem
0000148E 2F2D F992 move.l -[A7], [A5 - 0x66E]
00001492 3F3C 0006 move.w -[A7], 0x6
00001496 A93A syscall DisableItem
00001498 2F2D F9C2 move.l -[A7], [A5 - 0x63E]
0000149C A916 syscall HideWindow
0000149E 598F subq.l A7, 4
000014A0 A9FA syscall UnloadScrap/UnlodeScrap
000014A2 2E1F move.l D7, [A7]+
000014A4 2B47 ED20 move.l [A5 - 0x12E0], D7
000014A8 422D ECF6 clr.b [A5 - 0x130A]
000014AC A850 syscall InitCursor
000014AE 4CDF 0080 movem.l D7, [A7]+
000014B2 4E5E unlink A6
000014B4 4E75 rts
fn000014B6:
000014B6 4E56 FEEC link A6, -0x0114
000014BA 48E7 0318 movem.l -[A7], D6,D7,A3,A4
000014BE 422D ECF6 clr.b [A5 - 0x130A]
000014C2 3E2D FF22 move.w D7, [A5 - 0xDE]
000014C6 9E6D FF1E sub.w D7, [A5 - 0xE2]
000014CA 48C7 ext.l D7
000014CC 2D47 FFF0 move.l [A6 - 0x10], D7
000014D0 3E2D FF20 move.w D7, [A5 - 0xE0]
000014D4 9E6D FF1C sub.w D7, [A5 - 0xE4]
000014D8 48C7 ext.l D7
000014DA 2D47 FFF4 move.l [A6 - 0xC], D7
000014DE 598F subq.l A7, 4
000014E0 2F2E FFF4 move.l -[A7], [A6 - 0xC]
000014E4 2F2E FFF0 move.l -[A7], [A6 - 0x10]
000014E8 4EBA 25E4 jsr [PC + 0x25E4 /* 00003ACE */]
000014EC 2E1F move.l D7, [A7]+
000014EE 0687 0000 2710 addi.l D7, 0x2710
000014F4 2D47 FFF4 move.l [A6 - 0xC], D7
000014F8 598F subq.l A7, 4
000014FA 2F2E FFF4 move.l -[A7], [A6 - 0xC]
000014FE 4EBA 269A jsr [PC + 0x269A /* 00003B9A */]
00001502 2E1F move.l D7, [A7]+
00001504 BEAE FFF4 cmp.l D7, [A6 - 0xC]
00001508 6C00 0022 bge +0x24 /* 0000152C */
0000150C 558F subq.l A7, 2
0000150E 3F3C 0083 move.w -[A7], 0x83
00001512 42A7 clr.l -[A7]
00001514 A987 syscall NoteAlert
00001516 3E1F move.w D7, [A7]+
00001518 3B47 ED1E move.w [A5 - 0x12E2], D7
0000151C 4278 0A9A clr.w [0x00000A9A /* ACount */]
00001520 2F2D FF16 move.l -[A7], [A5 - 0xEA]
00001524 4EBA 26CC jsr [PC + 0x26CC /* 00003BF2 */]
00001528 4EFA 0308 jmp [PC + 0x308 /* 00001832 */]
label0000152C:
0000152C 286D F9AE movea.l A4, [A5 - 0x652]
00001530 2854 movea.l A4, [A4]
00001532 2F0C move.l -[A7], A4
00001534 A851 syscall SetCursor
00001536 286D E9BC movea.l A4, [A5 - 0x1644]
0000153A 2854 movea.l A4, [A4]
0000153C 52AC 0004 addq.l [A4 + 0x4], 1
00001540 2F2D F992 move.l -[A7], [A5 - 0x66E]
00001544 3F3C 0001 move.w -[A7], 0x1
00001548 A93A syscall DisableItem
0000154A 2F2D F992 move.l -[A7], [A5 - 0x66E]
0000154E 3F3C 0002 move.w -[A7], 0x2
00001552 A93A syscall DisableItem
00001554 2F2D F992 move.l -[A7], [A5 - 0x66E]
00001558 3F3C 0003 move.w -[A7], 0x3
0000155C A939 syscall EnableItem
0000155E 2F2D F992 move.l -[A7], [A5 - 0x66E]
00001562 3F3C 0004 move.w -[A7], 0x4
00001566 A939 syscall EnableItem
00001568 2F2D F99A move.l -[A7], [A5 - 0x666]
0000156C 3F3C 0003 move.w -[A7], 0x3
00001570 A939 syscall EnableItem
00001572 2F2D F99A move.l -[A7], [A5 - 0x666]
00001576 3F3C 0002 move.w -[A7], 0x2
0000157A A93A syscall DisableItem
0000157C 3E3C 0001 move.w D7, 0x1
00001580 3D47 FFF8 move.w [A6 - 0x8], D7
00001584 0C47 0004 cmpi.w D7, 0x4
00001588 6E00 001C bgt +0x1E /* 000015A6 */
label0000158C:
0000158C 2F2D F99E move.l -[A7], [A5 - 0x662]
00001590 3F07 move.w -[A7], D7
00001592 A939 syscall EnableItem
00001594 0C47 0004 cmpi.w D7, 0x4
00001598 6C00 000C bge +0xE /* 000015A6 */
0000159C 5247 addq.w D7, 1
0000159E 3D47 FFF8 move.w [A6 - 0x8], D7
000015A2 4EFA FFE8 jmp [PC - 0x18 /* 0000158C */]
label000015A6:
000015A6 4EBA 3A64 jsr [PC + 0x3A64 /* 0000500C */]
000015AA 4EBA EF1A jsr [PC - 0x10E6 /* 000004C6 */]
000015AE 3E3C 0002 move.w D7, 0x2
000015B2 3D47 FFF8 move.w [A6 - 0x8], D7
000015B6 BE6D F98C cmp.w D7, [A5 - 0x674]
000015BA 6E00 0060 bgt +0x62 /* 0000161C */
000015BE 3D6D F98C FEEC move.w [A6 - 0x114], [A5 - 0x674]
label000015C4:
000015C4 3C07 move.w D6, D7
000015C6 5346 subq.w D6, 1
000015C8 CDFC 0012 muls.w D6, 0x12
000015CC 47ED EF00 lea.l A3, [A5 - 0x1100]
000015D0 0C73 0001 6010 cmpi.w [A3 + D6.w + 0x10], 0x1
000015D6 6600 0032 bne +0x34 /* 0000160A */
000015DA 3C07 move.w D6, D7
000015DC 5346 subq.w D6, 1
000015DE CDFC 0012 muls.w D6, 0x12
000015E2 47ED EF00 lea.l A3, [A5 - 0x1100]
000015E6 2F33 6000 move.l -[A7], [A3 + D6.w]
000015EA 3C07 move.w D6, D7
000015EC 5346 subq.w D6, 1
000015EE CDFC 0012 muls.w D6, 0x12
000015F2 47ED EF00 lea.l A3, [A5 - 0x1100]
000015F6 2673 6000 movea.l A3, [A3 + D6.w]
000015FA 2653 movea.l A3, [A3]
000015FC 3C3C 0002 move.w D6, 0x2
00001600 9C6B 0004 sub.w D6, [A3 + 0x4]
00001604 3F06 move.w -[A7], D6
00001606 4267 clr.w -[A7]
00001608 A8E0 syscall OffsetRgn/OfsetRgn
label0000160A:
0000160A BE6E FEEC cmp.w D7, [A6 - 0x114]
0000160E 6C00 000C bge +0xE /* 0000161C */
00001612 5247 addq.w D7, 1
00001614 3D47 FFF8 move.w [A6 - 0x8], D7
00001618 4EFA FFAA jmp [PC - 0x56 /* 000015C4 */]
label0000161C:
0000161C 2F2D F9BA move.l -[A7], [A5 - 0x646]
00001620 3F3C 0002 move.w -[A7], 0x2
00001624 3F3C 001E move.w -[A7], 0x1E
00001628 1F3C 0001 move.b -[A7], 0x1
0000162C A91B syscall MoveWindow
0000162E 3E2D FF22 move.w D7, [A5 - 0xDE]
00001632 9E6D FF1E sub.w D7, [A5 - 0xE2]
00001636 3D47 FFFA move.w [A6 - 0x6], D7
0000163A 0C6E 00D2 FFFA cmpi.w [A6 - 0x6], 0xD2
00001640 6C00 0012 bge +0x14 /* 00001654 */
00001644 3E2E FFFA move.w D7, [A6 - 0x6]
00001648 0647 0028 addi.w D7, 0x28 /* '(' */
0000164C 3D47 FFFA move.w [A6 - 0x6], D7
00001650 4EFA 000E jmp [PC + 0xE /* 00001660 */]
label00001654:
00001654 3E2E FFFA move.w D7, [A6 - 0x6]
00001658 0647 0014 addi.w D7, 0x14
0000165C 3D47 FFFA move.w [A6 - 0x6], D7
label00001660:
00001660 2F2D F9BA move.l -[A7], [A5 - 0x646]
00001664 3E3C 003C move.w D7, 0x3C /* '<' */
00001668 DE6E FFFA add.w D7, [A6 - 0x6]
0000166C 3F07 move.w -[A7], D7
0000166E 3E2D FCE6 move.w D7, [A5 - 0x31A]
00001672 0447 0022 subi.w D7, 0x22 /* '\"' */
00001676 3F07 move.w -[A7], D7
00001678 1F3C 0001 move.b -[A7], 0x1
0000167C A91D syscall SizeWindow
0000167E 2F2D F9BA move.l -[A7], [A5 - 0x646]
00001682 A915 syscall ShowWindow
00001684 2F2D F9BA move.l -[A7], [A5 - 0x646]
00001688 A873 syscall SetPort
0000168A 486D FDF0 pea.l [A5 - 0x210]
0000168E 4267 clr.w -[A7]
00001690 4267 clr.w -[A7]
00001692 3F3C 0258 move.w -[A7], 0x258
00001696 3F3C 0190 move.w -[A7], 0x190
0000169A A8A7 syscall SetRect
0000169C 486D FDF0 pea.l [A5 - 0x210]
000016A0 A87B syscall ClipRect
000016A2 4EBA EADC jsr [PC - 0x1524 /* 00000180 */]
000016A6 3B7C 0002 ED1C move.w [A5 - 0x12E4], 0x2
000016AC 2B6D FF1C ED98 move.l [A5 - 0x1268], [A5 - 0xE4]
000016B2 2B6D FF20 ED9C move.l [A5 - 0x1264], [A5 - 0xE0]
000016B8 486D ED92 pea.l [A5 - 0x126E]
000016BC 4EBA 2B70 jsr [PC + 0x2B70 /* 0000422E */]
000016C0 2B6D FF1C EDA6 move.l [A5 - 0x125A], [A5 - 0xE4]
000016C6 2B6D FF20 EDAA move.l [A5 - 0x1256], [A5 - 0xE0]
000016CC 486D EDA6 pea.l [A5 - 0x125A]
000016D0 3F3C FFEC move.w -[A7], 0xFFEC
000016D4 3F3C FFEC move.w -[A7], 0xFFEC
000016D8 A8A9 syscall InsetRect
000016DA 486D EDA0 pea.l [A5 - 0x1260]
000016DE 4EBA 2B4E jsr [PC + 0x2B4E /* 0000422E */]
000016E2 4EBA F86E jsr [PC - 0x792 /* 00000F52 */]
000016E6 2F2D F9BE move.l -[A7], [A5 - 0x642]
000016EA A915 syscall ShowWindow
000016EC 2F2D F9B6 move.l -[A7], [A5 - 0x64A]
000016F0 3E2D FCE8 move.w D7, [A5 - 0x318]
000016F4 5947 subq.w D7, 4
000016F6 266D F9B6 movea.l A3, [A5 - 0x64A]
000016FA 9E6B 0016 sub.w D7, [A3 + 0x16]
000016FE 3F07 move.w -[A7], D7
00001700 3E2D FCE2 move.w D7, [A5 - 0x31E]
00001704 0647 0016 addi.w D7, 0x16
00001708 266D F9B6 movea.l A3, [A5 - 0x64A]
0000170C 9E6B 0010 sub.w D7, [A3 + 0x10]
00001710 3F07 move.w -[A7], D7
00001712 4227 clr.b -[A7]
00001714 A91B syscall MoveWindow
00001716 2F2D F9B6 move.l -[A7], [A5 - 0x64A]
0000171A A915 syscall ShowWindow
0000171C 2F2D F9B2 move.l -[A7], [A5 - 0x64E]
00001720 266D EA40 movea.l A3, [A5 - 0x15C0]
00001724 2653 movea.l A3, [A3]
00001726 3F2B 0006 move.w -[A7], [A3 + 0x6]
0000172A 266D EA40 movea.l A3, [A5 - 0x15C0]
0000172E 2653 movea.l A3, [A3]
00001730 3F2B 0004 move.w -[A7], [A3 + 0x4]
00001734 4227 clr.b -[A7]
00001736 A91D syscall SizeWindow
00001738 2F2D F9B2 move.l -[A7], [A5 - 0x64E]
0000173C 3E2D FCE8 move.w D7, [A5 - 0x318]
00001740 5947 subq.w D7, 4
00001742 266D F9B2 movea.l A3, [A5 - 0x64E]
00001746 9E6B 0016 sub.w D7, [A3 + 0x16]
0000174A 3F07 move.w -[A7], D7
0000174C 3E2D FCE2 move.w D7, [A5 - 0x31E]
00001750 0647 003A addi.w D7, 0x3A /* ':' */
00001754 266D F9B2 movea.l A3, [A5 - 0x64E]
00001758 9E6B 0010 sub.w D7, [A3 + 0x10]
0000175C 3F07 move.w -[A7], D7
0000175E 4227 clr.b -[A7]
00001760 A91B syscall MoveWindow
00001762 2F2D F9B2 move.l -[A7], [A5 - 0x64E]
00001766 A915 syscall ShowWindow
00001768 2F2D EA44 move.l -[A7], [A5 - 0x15BC]
0000176C A957 syscall ShowControl
0000176E 2F2D F9BA move.l -[A7], [A5 - 0x646]
00001772 A91F syscall SelectWindow
00001774 4EBA E99E jsr [PC - 0x1662 /* 00000114 */]
00001778 266D EF00 movea.l A3, [A5 - 0x1100]
0000177C 2653 movea.l A3, [A3]
0000177E 2B6B 0002 FDF0 move.l [A5 - 0x210], [A3 + 0x2]
00001784 2B6B 0006 FDF4 move.l [A5 - 0x20C], [A3 + 0x6]
0000178A 3E2D EDC2 move.w D7, [A5 - 0x123E]
0000178E 9E6D EDBE sub.w D7, [A5 - 0x1242]
00001792 3C2D FDF6 move.w D6, [A5 - 0x20A]
00001796 9C6D FDF2 sub.w D6, [A5 - 0x20E]
0000179A 9E46 sub.w D7, D6
0000179C 48C7 ext.l D7
0000179E 8FFC 0002 divs.w D7, 0x2
000017A2 DE6D EDBE add.w D7, [A5 - 0x1242]
000017A6 3D47 FFF8 move.w [A6 - 0x8], D7
000017AA 3E2D EDC0 move.w D7, [A5 - 0x1240]
000017AE 9E6D EDBC sub.w D7, [A5 - 0x1244]
000017B2 3C2D FDF4 move.w D6, [A5 - 0x20C]
000017B6 9C6D FDF0 sub.w D6, [A5 - 0x210]
000017BA 9E46 sub.w D7, D6
000017BC 48C7 ext.l D7
000017BE 8FFC 0002 divs.w D7, 0x2
000017C2 DE6D EDBC add.w D7, [A5 - 0x1244]
000017C6 3D47 FFFE move.w [A6 - 0x2], D7
000017CA 2F2D EF00 move.l -[A7], [A5 - 0x1100]
000017CE 3E2E FFF8 move.w D7, [A6 - 0x8]
000017D2 9E6D FDF2 sub.w D7, [A5 - 0x20E]
000017D6 3F07 move.w -[A7], D7
000017D8 3E2E FFFE move.w D7, [A6 - 0x2]
000017DC 9E6D FDF0 sub.w D7, [A5 - 0x210]
000017E0 3F07 move.w -[A7], D7
000017E2 A8E0 syscall OffsetRgn/OfsetRgn
000017E4 4EBA EADC jsr [PC - 0x1524 /* 000002C2 */]
000017E8 3B7C 0001 EDCC move.w [A5 - 0x1234], 0x1
000017EE 4EBA 43A2 jsr [PC + 0x43A2 /* 00005B92 */]
000017F2 1B7C 0001 EDAE move.b [A5 - 0x1252], 0x1
000017F8 422D E9E4 clr.b [A5 - 0x161C]
000017FC 422D EA08 clr.b [A5 - 0x15F8]
00001800 598F subq.l A7, 4
00001802 A975 syscall TickCount
00001804 2E1F move.l D7, [A7]+
00001806 2B47 EA22 move.l [A5 - 0x15DE], D7
0000180A 2B7C 0000 003C EA1E move.l [A5 - 0x15E2], 0x3C /* '<' */
00001812 42AD EA16 clr.l [A5 - 0x15EA]
00001816 42AD EA1A clr.l [A5 - 0x15E6]
0000181A 42AD EA0A clr.l [A5 - 0x15F6]
0000181E 3E2D EDBA move.w D7, [A5 - 0x1246]
00001822 48C7 ext.l D7
00001824 2B47 EA12 move.l [A5 - 0x15EE], D7
00001828 3E2D EDBA move.w D7, [A5 - 0x1246]
0000182C 48C7 ext.l D7
0000182E 2B47 EA0E move.l [A5 - 0x15F2], D7
label00001832:
00001832 A850 syscall InitCursor
00001834 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+
00001838 4E5E unlink A6
0000183A 4E75 rts
fn0000183C:
0000183C 4E56 FFF4 link A6, -0x000C
00001840 48E7 0308 movem.l -[A7], D6,D7,A4
00001844 422D EA60 clr.b [A5 - 0x15A0]
00001848 598F subq.l A7, 4
0000184A 2F2D FF16 move.l -[A7], [A5 - 0xEA]
0000184E 4EBA 23AC jsr [PC + 0x23AC /* 00003BFC */]
00001852 2E1F move.l D7, [A7]+
00001854 0687 0000 000E addi.l D7, 0xE
0000185A 5287 addq.l D7, 1
0000185C 2B47 E9E0 move.l [A5 - 0x1620], D7
00001860 598F subq.l A7, 4
00001862 2F2D E9E0 move.l -[A7], [A5 - 0x1620]
00001866 4EBA 237E jsr [PC + 0x237E /* 00003BE6 */]
0000186A 2E1F move.l D7, [A7]+
0000186C 2B47 EA5C move.l [A5 - 0x15A4], D7
00001870 558F subq.l A7, 2
00001872 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
00001876 3E1F move.w D7, [A7]+
00001878 4A47 tst.w D7
0000187A 6600 0080 bne +0x82 /* 000018FC */
0000187E 49ED FF16 lea.l A4, [A5 - 0xEA]
00001882 2F0C move.l -[A7], A4
00001884 2F2D EA5C move.l -[A7], [A5 - 0x15A4]
00001888 2F3C 0000 000E move.l -[A7], 0xE
0000188E 4EBA 23DC jsr [PC + 0x23DC /* 00003C6C */]
00001892 2E2D EA5C move.l D7, [A5 - 0x15A4]
00001896 0687 0000 000E addi.l D7, 0xE
0000189C 2D47 FFFA move.l [A6 - 0x6], D7
000018A0 2D6D FF16 FFF6 move.l [A6 - 0xA], [A5 - 0xEA]
000018A6 3E2D FF1C move.w D7, [A5 - 0xE4]
000018AA 3D47 FFFE move.w [A6 - 0x2], D7
000018AE 3C2D FF20 move.w D6, [A5 - 0xE0]
000018B2 5346 subq.w D6, 1
000018B4 BE46 cmp.w D7, D6
000018B6 6E00 0026 bgt +0x28 /* 000018DE */
000018BA 3D46 FFF4 move.w [A6 - 0xC], D6
label000018BE:
000018BE 486E FFF6 pea.l [A6 - 0xA]
000018C2 486E FFFA pea.l [A6 - 0x6]
000018C6 3F2D FF1A move.w -[A7], [A5 - 0xE6]
000018CA A8CF syscall PackBits
000018CC BE6E FFF4 cmp.w D7, [A6 - 0xC]
000018D0 6C00 000C bge +0xE /* 000018DE */
000018D4 5247 addq.w D7, 1
000018D6 3D47 FFFE move.w [A6 - 0x2], D7
000018DA 4EFA FFE2 jmp [PC - 0x1E /* 000018BE */]
label000018DE:
000018DE 2E2E FFFA move.l D7, [A6 - 0x6]
000018E2 9EAD EA5C sub.l D7, [A5 - 0x15A4]
000018E6 5287 addq.l D7, 1
000018E8 2B47 E9E0 move.l [A5 - 0x1620], D7
000018EC 2F2D EA5C move.l -[A7], [A5 - 0x15A4]
000018F0 2F2D E9E0 move.l -[A7], [A5 - 0x1620]
000018F4 4EBA 231A jsr [PC + 0x231A /* 00003C10 */]
000018F8 4EFA 0008 jmp [PC + 0x8 /* 00001902 */]
label000018FC:
000018FC 1B7C 0001 EA60 move.b [A5 - 0x15A0], 0x1
label00001902:
00001902 4CDF 10C0 movem.l D6,D7,A4, [A7]+
00001906 4E5E unlink A6
00001908 4E75 rts
fn0000190A:
0000190A 4E56 FFA6 link A6, -0x005A
0000190E 48E7 0100 movem.l -[A7], D7
00001912 4A2D E9B2 tst.b [A5 - 0x164E]
00001916 6700 0012 beq +0x14 /* 0000192A */
0000191A 3F3C 02CF move.w -[A7], 0x2CF
0000191E 486E FFB0 pea.l [A6 - 0x50]
00001922 4EBA 28D4 jsr [PC + 0x28D4 /* 000041F8 */]
00001926 4EFA 0186 jmp [PC + 0x186 /* 00001AAE */]
label0000192A:
0000192A 486E FFFC pea.l [A6 - 0x4]
0000192E 3F3C 0054 move.w -[A7], 0x54 /* 'T' */
00001932 3F3C 003C move.w -[A7], 0x3C /* '<' */
00001936 A880 syscall SetPt
00001938 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000193C 487A 018A pea.l [PC + 0x18A /* 00001AC8, value 0xF536176, pstring "Save Puzzle as:" */]
00001940 487A 017C pea.l [PC + 0x17C /* 00001ABE, value 0x8556E74, pstring "Untitled" */]
00001944 42A7 clr.l -[A7]
00001946 486E FFB2 pea.l [A6 - 0x4E]
0000194A 4EBA 25E8 jsr [PC + 0x25E8 /* 00003F34 */]
0000194E 422E FFA6 clr.b [A6 - 0x5A]
00001952 4A2E FFB2 tst.b [A6 - 0x4E]
00001956 6700 0156 beq +0x158 /* 00001AAE */
0000195A 558F subq.l A7, 2
0000195C 486E FFBC pea.l [A6 - 0x44]
00001960 3F2E FFB8 move.w -[A7], [A6 - 0x48]
00001964 2F3A 0154 move.l -[A7], [PC + 0x154 /* 00001ABA, value 0x505A5A4C 'PZZL' */]
00001968 2F3A 014C move.l -[A7], [PC + 0x14C /* 00001AB6, value 0x6450555A 'dPUZ' */]
0000196C 4EBA 2428 jsr [PC + 0x2428 /* 00003D96 */]
00001970 3E1F move.w D7, [A7]+
00001972 3D47 FFAC move.w [A6 - 0x54], D7
00001976 4EFA 011A jmp [PC + 0x11A /* 00001A92 */]
label0000197A:
0000197A 558F subq.l A7, 2
0000197C 486E FFBC pea.l [A6 - 0x44]
00001980 3F2E FFB8 move.w -[A7], [A6 - 0x48]
00001984 486E FFAE pea.l [A6 - 0x52]
00001988 4EBA 2326 jsr [PC + 0x2326 /* 00003CB0 */]
0000198C 3E1F move.w D7, [A7]+
0000198E 3D47 FFAC move.w [A6 - 0x54], D7
00001992 4A6E FFAC tst.w [A6 - 0x54]
00001996 6600 00A4 bne +0xA6 /* 00001A3C */
0000199A 4EBA FEA0 jsr [PC - 0x160 /* 0000183C */]
0000199E 1E2D EA60 move.b D7, [A5 - 0x15A0]
000019A2 0A07 0001 xori.b D7, 0x1
000019A6 6700 0090 beq +0x92 /* 00001A38 */
000019AA 598F subq.l A7, 4
000019AC 2F2D EA5C move.l -[A7], [A5 - 0x15A4]
000019B0 4EBA 224A jsr [PC + 0x224A /* 00003BFC */]
000019B4 2E1F move.l D7, [A7]+
000019B6 2D47 FFA8 move.l [A6 - 0x58], D7
000019BA 558F subq.l A7, 2
000019BC 3F2E FFAE move.w -[A7], [A6 - 0x52]
000019C0 2F2E FFA8 move.l -[A7], [A6 - 0x58]
000019C4 4EBA 245E jsr [PC + 0x245E /* 00003E24 */]
000019C8 3E1F move.w D7, [A7]+
000019CA 3D47 FFAC move.w [A6 - 0x54], D7
000019CE 4A6E FFAC tst.w [A6 - 0x54]
000019D2 6600 004C bne +0x4E /* 00001A20 */
000019D6 558F subq.l A7, 2
000019D8 3F2E FFAE move.w -[A7], [A6 - 0x52]
000019DC 3F3C 0001 move.w -[A7], 0x1
000019E0 42A7 clr.l -[A7]
000019E2 4EBA 2486 jsr [PC + 0x2486 /* 00003E6A */]
000019E6 3E1F move.w D7, [A7]+
000019E8 3D47 FFAC move.w [A6 - 0x54], D7
000019EC 598F subq.l A7, 4
000019EE 2F2D EA5C move.l -[A7], [A5 - 0x15A4]
000019F2 4EBA 2208 jsr [PC + 0x2208 /* 00003BFC */]
000019F6 2E1F move.l D7, [A7]+
000019F8 2D47 FFA8 move.l [A6 - 0x58], D7
000019FC 558F subq.l A7, 2
000019FE 3F2E FFAE move.w -[A7], [A6 - 0x52]
00001A02 486E FFA8 pea.l [A6 - 0x58]
00001A06 2F2D EA5C move.l -[A7], [A5 - 0x15A4]
00001A0A 4EBA 22FE jsr [PC + 0x22FE /* 00003D0A */]
00001A0E 3E1F move.w D7, [A7]+
00001A10 3D47 FFAC move.w [A6 - 0x54], D7
00001A14 2F2D EA5C move.l -[A7], [A5 - 0x15A4]
00001A18 4EBA 21D8 jsr [PC + 0x21D8 /* 00003BF2 */]
00001A1C 4EFA 001A jmp [PC + 0x1A /* 00001A38 */]
label00001A20:
00001A20 0C6E FFDE FFAC cmpi.w [A6 - 0x54], 0xFFDE
00001A26 6600 0008 bne +0xA /* 00001A30 */
00001A2A 1D7C 0001 FFA6 move.b [A6 - 0x5A], 0x1
label00001A30:
00001A30 3F2E FFAC move.w -[A7], [A6 - 0x54]
00001A34 4EBA 2772 jsr [PC + 0x2772 /* 000041A8 */]
label00001A38:
00001A38 4EFA 000A jmp [PC + 0xA /* 00001A44 */]
label00001A3C:
00001A3C 3F2E FFAC move.w -[A7], [A6 - 0x54]
00001A40 4EBA 2766 jsr [PC + 0x2766 /* 000041A8 */]
label00001A44:
00001A44 558F subq.l A7, 2
00001A46 3F2E FFAE move.w -[A7], [A6 - 0x52]
00001A4A 4EBA 229E jsr [PC + 0x229E /* 00003CEA */]
00001A4E 3E1F move.w D7, [A7]+
00001A50 3D47 FFAC move.w [A6 - 0x54], D7
00001A54 4A2E FFA6 tst.b [A6 - 0x5A]
00001A58 6700 0016 beq +0x18 /* 00001A70 */
00001A5C 558F subq.l A7, 2
00001A5E 486E FFBC pea.l [A6 - 0x44]
00001A62 3F2E FFB8 move.w -[A7], [A6 - 0x48]
00001A66 4EBA 2372 jsr [PC + 0x2372 /* 00003DDA */]
00001A6A 3E1F move.w D7, [A7]+
00001A6C 3D47 FFAC move.w [A6 - 0x54], D7
label00001A70:
00001A70 558F subq.l A7, 2
00001A72 42A7 clr.l -[A7]
00001A74 3F2E FFB8 move.w -[A7], [A6 - 0x48]
00001A78 4EBA 22FA jsr [PC + 0x22FA /* 00003D74 */]
00001A7C 3E1F move.w D7, [A7]+
00001A7E 3D47 FFAC move.w [A6 - 0x54], D7
00001A82 4EFA 0026 jmp [PC + 0x26 /* 00001AAA */]
label00001A86:
00001A86 3F2E FFAC move.w -[A7], [A6 - 0x54]
00001A8A 4EBA 271C jsr [PC + 0x271C /* 000041A8 */]
00001A8E 4EFA 001A jmp [PC + 0x1A /* 00001AAA */]
label00001A92:
00001A92 3E2E FFAC move.w D7, [A6 - 0x54]
00001A96 0C47 FFD0 cmpi.w D7, 0xFFD0
00001A9A 6700 FEDE beq -0x120 /* 0000197A */
00001A9E 0C47 0000 cmpi.w D7, 0x0
00001AA2 6700 FED6 beq -0x128 /* 0000197A */
00001AA6 4EFA FFDE jmp [PC - 0x22 /* 00001A86 */]
label00001AAA:
00001AAA 422D EA02 clr.b [A5 - 0x15FE]
label00001AAE:
00001AAE 4CDF 0080 movem.l D7, [A7]+
00001AB2 4E5E unlink A6
00001AB4 4E75 rts
00001AB6 6450 bcc +0x52 /* 00001B08 */
00001AB8 555A subq.w [A2]+, 2
00001ABA 505A addq.w [A2]+, 8
00001ABC 5A4C addq.w A4, 5
00001ABE 0855 6E74 bchg.b [A5], 0x74 /* 't' */
00001AC2 6974 bvs +0x76 /* 00001B38 */
00001AC4 6C65 bge +0x67 /* 00001B2B */
00001AC6 6400 0F53 bcc +0xF55 /* 00002A1B */
00001ACA 6176 bsr +0x78 /* 00001B42 */
00001ACC 6520 bcs +0x22 /* 00001AEE */
00001ACE 5075 7A7A addq.w [A5 + D7 * 2 + 0x7A], 8
00001AD2 6C65 bge +0x67 /* 00001B39 */
00001AD4 2061 movea.l A0, -[A1]
00001AD6 733A moveq.l D1, 0x3A
fn00001AD8:
00001AD8 4E56 FFFC link A6, -0x0004
00001ADC 48E7 0308 movem.l -[A7], D6,D7,A4
00001AE0 3B7C 0002 ED1E move.w [A5 - 0x12E2], 0x2
00001AE6 4A2D EA02 tst.b [A5 - 0x15FE]
00001AEA 6700 0016 beq +0x18 /* 00001B02 */
label00001AEE:
00001AEE 558F subq.l A7, 2
00001AF0 3F3C 0095 move.w -[A7], 0x95
00001AF4 42A7 clr.l -[A7]
00001AF6 A985 syscall Alert
00001AF8 3E1F move.w D7, [A7]+
00001AFA 3B47 ED1E move.w [A5 - 0x12E2], D7
00001AFE 4278 0A9A clr.w [0x00000A9A /* ACount */]
label00001B02:
00001B02 4EFA 0110 jmp [PC + 0x110 /* 00001C14 */]
label00001B06:
00001B06 0C6D 0001 ED1E cmpi.w [A5 - 0x12E2], 0x1
// begin alternate branch 00001B08-00001B0C
label00001B08:
00001B08 0001 ED1E ori.b D1, 0x1E
// end alternate branch 00001B08-00001B0C
label00001B08: // (misaligned)
00001B0C 6600 0006 bne +0x8 /* 00001B14 */
00001B10 4EBA FDF8 jsr [PC - 0x208 /* 0000190A */]
label00001B14:
00001B14 2F2D F992 move.l -[A7], [A5 - 0x66E]
00001B18 3F3C 0001 move.w -[A7], 0x1
00001B1C A939 syscall EnableItem
00001B1E 2F2D F992 move.l -[A7], [A5 - 0x66E]
00001B22 3F3C 0002 move.w -[A7], 0x2
00001B26 A939 syscall EnableItem
00001B28 2F2D F992 move.l -[A7], [A5 - 0x66E]
00001B2C 3F3C 0003 move.w -[A7], 0x3
00001B30 A93A syscall DisableItem
00001B32 2F2D F992 move.l -[A7], [A5 - 0x66E]
00001B36 3F3C 0004 move.w -[A7], 0x4
// begin alternate branch 00001B38-00001B3C
label00001B38:
00001B38 0004 A93A ori.b D4, 0x3A /* ':' */
// end alternate branch 00001B38-00001B3C
label00001B38: // (misaligned)
00001B3A A93A syscall DisableItem
00001B3C 2F2D F99A move.l -[A7], [A5 - 0x666]
00001B40 3F3C 0003 move.w -[A7], 0x3
// begin alternate branch 00001B42-00001B46
fn00001B42:
00001B42 0003 A93A ori.b D3, 0x3A /* ':' */
// end alternate branch 00001B42-00001B46
fn00001B42: // (misaligned)
00001B44 A93A syscall DisableItem
00001B46 2F2D F99A move.l -[A7], [A5 - 0x666]
00001B4A 3F3C 0002 move.w -[A7], 0x2
00001B4E A939 syscall EnableItem
00001B50 3E3C 0001 move.w D7, 0x1
00001B54 3D47 FFFE move.w [A6 - 0x2], D7
00001B58 0C47 0004 cmpi.w D7, 0x4
00001B5C 6E00 001C bgt +0x1E /* 00001B7A */
label00001B60:
00001B60 2F2D F99E move.l -[A7], [A5 - 0x662]
00001B64 3F07 move.w -[A7], D7
00001B66 A93A syscall DisableItem
00001B68 0C47 0004 cmpi.w D7, 0x4
00001B6C 6C00 000C bge +0xE /* 00001B7A */
00001B70 5247 addq.w D7, 1
00001B72 3D47 FFFE move.w [A6 - 0x2], D7
00001B76 4EFA FFE8 jmp [PC - 0x18 /* 00001B60 */]
label00001B7A:
00001B7A 2F2D F9BA move.l -[A7], [A5 - 0x646]
00001B7E A916 syscall HideWindow
00001B80 2F2D F9BE move.l -[A7], [A5 - 0x642]
00001B84 A916 syscall HideWindow
00001B86 2F2D F9B6 move.l -[A7], [A5 - 0x64A]
00001B8A A916 syscall HideWindow
00001B8C 2F2D F9B2 move.l -[A7], [A5 - 0x64E]
00001B90 A916 syscall HideWindow
00001B92 2F2D FF16 move.l -[A7], [A5 - 0xEA]
00001B96 4EBA 205A jsr [PC + 0x205A /* 00003BF2 */]
00001B9A 2F2D EDA0 move.l -[A7], [A5 - 0x1260]
00001B9E 4EBA 2052 jsr [PC + 0x2052 /* 00003BF2 */]
00001BA2 2F2D ED92 move.l -[A7], [A5 - 0x126E]
00001BA6 4EBA 204A jsr [PC + 0x204A /* 00003BF2 */]
00001BAA 3E3C 0001 move.w D7, 0x1
00001BAE 3D47 FFFE move.w [A6 - 0x2], D7
00001BB2 BE6D F98C cmp.w D7, [A5 - 0x674]
00001BB6 6E00 0042 bgt +0x44 /* 00001BFA */
00001BBA 3D6D F98C FFFC move.w [A6 - 0x4], [A5 - 0x674]
label00001BC0:
00001BC0 3C07 move.w D6, D7
00001BC2 5346 subq.w D6, 1
00001BC4 CDFC 0012 muls.w D6, 0x12
00001BC8 49ED EF00 lea.l A4, [A5 - 0x1100]
00001BCC 0C74 0000 6010 cmpi.w [A4 + D6.w + 0x10], 0x0
00001BD2 6F00 0014 ble +0x16 /* 00001BE8 */
00001BD6 3C07 move.w D6, D7
00001BD8 5346 subq.w D6, 1
00001BDA CDFC 0012 muls.w D6, 0x12
00001BDE 49ED EF00 lea.l A4, [A5 - 0x1100]
00001BE2 2F34 6000 move.l -[A7], [A4 + D6.w]
00001BE6 A8D9 syscall DisposRgn/DisposeRgn
label00001BE8:
00001BE8 BE6E FFFC cmp.w D7, [A6 - 0x4]
00001BEC 6C00 000C bge +0xE /* 00001BFA */
00001BF0 5247 addq.w D7, 1
00001BF2 3D47 FFFE move.w [A6 - 0x2], D7
00001BF6 4EFA FFC8 jmp [PC - 0x38 /* 00001BC0 */]
label00001BFA:
00001BFA 426D ED1C clr.w [A5 - 0x12E4]
00001BFE 598F subq.l A7, 4
00001C00 2F3C 001E 8480 move.l -[A7], 0x1E8480
00001C06 4EBA 1F92 jsr [PC + 0x1F92 /* 00003B9A */]
00001C0A 2E1F move.l D7, [A7]+
00001C0C 2B47 E9E0 move.l [A5 - 0x1620], D7
00001C10 4EFA 0016 jmp [PC + 0x16 /* 00001C28 */]
label00001C14:
00001C14 3E2D ED1E move.w D7, [A5 - 0x12E2]
00001C18 0C47 0001 cmpi.w D7, 0x1
00001C1C 6700 FEE8 beq -0x116 /* 00001B06 */
00001C20 0C47 0002 cmpi.w D7, 0x2
00001C24 6700 FEE0 beq -0x11E /* 00001B06 */
label00001C28:
00001C28 4CDF 10C0 movem.l D6,D7,A4, [A7]+
00001C2C 4E5E unlink A6
00001C2E 4E75 rts
fn00001C30:
00001C30 4E56 FFF0 link A6, -0x0010
00001C34 48E7 0308 movem.l -[A7], D6,D7,A4
00001C38 2F2D EA5C move.l -[A7], [A5 - 0x15A4]
00001C3C 49ED FF16 lea.l A4, [A5 - 0xEA]
00001C40 2F0C move.l -[A7], A4
00001C42 2F3C 0000 000E move.l -[A7], 0xE
00001C48 4EBA 2022 jsr [PC + 0x2022 /* 00003C6C */]
00001C4C 3E2D FF20 move.w D7, [A5 - 0xE0]
00001C50 9E6D FF1C sub.w D7, [A5 - 0xE4]
00001C54 CFED FF1A muls.w D7, [A5 - 0xE6]
00001C58 48C7 ext.l D7
00001C5A 2B47 E9E0 move.l [A5 - 0x1620], D7
00001C5E 598F subq.l A7, 4
00001C60 2F2D E9E0 move.l -[A7], [A5 - 0x1620]
00001C64 4EBA 1F80 jsr [PC + 0x1F80 /* 00003BE6 */]
00001C68 2E1F move.l D7, [A7]+
00001C6A 2B47 FF16 move.l [A5 - 0xEA], D7
00001C6E 2E2D EA5C move.l D7, [A5 - 0x15A4]
00001C72 0687 0000 000E addi.l D7, 0xE
00001C78 2D47 FFF2 move.l [A6 - 0xE], D7
00001C7C 2D6D FF16 FFF6 move.l [A6 - 0xA], [A5 - 0xEA]
00001C82 3E2D FF1C move.w D7, [A5 - 0xE4]
00001C86 3D47 FFFE move.w [A6 - 0x2], D7
00001C8A 3C2D FF20 move.w D6, [A5 - 0xE0]
00001C8E 5346 subq.w D6, 1
00001C90 BE46 cmp.w D7, D6
00001C92 6E00 0026 bgt +0x28 /* 00001CBA */
00001C96 3D46 FFF0 move.w [A6 - 0x10], D6
label00001C9A:
00001C9A 486E FFF2 pea.l [A6 - 0xE]
00001C9E 486E FFF6 pea.l [A6 - 0xA]
00001CA2 3F2D FF1A move.w -[A7], [A5 - 0xE6]
00001CA6 A8D0 syscall UnpackBits
00001CA8 BE6E FFF0 cmp.w D7, [A6 - 0x10]
00001CAC 6C00 000C bge +0xE /* 00001CBA */
00001CB0 5247 addq.w D7, 1
00001CB2 3D47 FFFE move.w [A6 - 0x2], D7
00001CB6 4EFA FFE2 jmp [PC - 0x1E /* 00001C9A */]
label00001CBA:
00001CBA 2F2D EA5C move.l -[A7], [A5 - 0x15A4]
00001CBE 4EBA 1F32 jsr [PC + 0x1F32 /* 00003BF2 */]
00001CC2 4CDF 10C0 movem.l D6,D7,A4, [A7]+
00001CC6 4E5E unlink A6
00001CC8 4E75 rts
fn00001CCA:
00001CCA 4E56 FFF8 link A6, -0x0008
00001CCE 48E7 0100 movem.l -[A7], D7
00001CD2 558F subq.l A7, 2
00001CD4 486D EA6A pea.l [A5 - 0x1596]
00001CD8 3F2D EA62 move.w -[A7], [A5 - 0x159E]
00001CDC 486E FFFE pea.l [A6 - 0x2]
00001CE0 4EBA 1FCE jsr [PC + 0x1FCE /* 00003CB0 */]
00001CE4 3E1F move.w D7, [A7]+
00001CE6 3D47 FFFC move.w [A6 - 0x4], D7
00001CEA 4A6E FFFC tst.w [A6 - 0x4]
00001CEE 6600 0074 bne +0x76 /* 00001D64 */
00001CF2 558F subq.l A7, 2
00001CF4 3F2E FFFE move.w -[A7], [A6 - 0x2]
00001CF8 486E FFF8 pea.l [A6 - 0x8]
00001CFC 4EBA 2102 jsr [PC + 0x2102 /* 00003E00 */]
00001D00 3E1F move.w D7, [A7]+
00001D02 3D47 FFFC move.w [A6 - 0x4], D7
00001D06 598F subq.l A7, 4
00001D08 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00001D0C 4EBA 1ED8 jsr [PC + 0x1ED8 /* 00003BE6 */]
00001D10 2E1F move.l D7, [A7]+
00001D12 2B47 EA5C move.l [A5 - 0x15A4], D7
00001D16 558F subq.l A7, 2
00001D18 3F2E FFFE move.w -[A7], [A6 - 0x2]
00001D1C 3F3C 0001 move.w -[A7], 0x1
00001D20 42A7 clr.l -[A7]
00001D22 4EBA 2146 jsr [PC + 0x2146 /* 00003E6A */]
00001D26 3E1F move.w D7, [A7]+
00001D28 3D47 FFFC move.w [A6 - 0x4], D7
00001D2C 558F subq.l A7, 2
00001D2E 3F2E FFFE move.w -[A7], [A6 - 0x2]
00001D32 486E FFF8 pea.l [A6 - 0x8]
00001D36 2F2D EA5C move.l -[A7], [A5 - 0x15A4]
00001D3A 4EBA 1FCA jsr [PC + 0x1FCA /* 00003D06 */]
00001D3E 3E1F move.w D7, [A7]+
00001D40 3D47 FFFC move.w [A6 - 0x4], D7
00001D44 4A6E FFFC tst.w [A6 - 0x4]
00001D48 6600 000E bne +0x10 /* 00001D58 */
00001D4C 4EBA FEE2 jsr [PC - 0x11E /* 00001C30 */]
00001D50 4EBA F764 jsr [PC - 0x89C /* 000014B6 */]
00001D54 4EFA 000A jmp [PC + 0xA /* 00001D60 */]
label00001D58:
00001D58 3F2E FFFC move.w -[A7], [A6 - 0x4]
00001D5C 4EBA 244A jsr [PC + 0x244A /* 000041A8 */]
label00001D60:
00001D60 4EFA 000A jmp [PC + 0xA /* 00001D6C */]
label00001D64:
00001D64 3F2E FFFC move.w -[A7], [A6 - 0x4]
00001D68 4EBA 243E jsr [PC + 0x243E /* 000041A8 */]
label00001D6C:
00001D6C 558F subq.l A7, 2
00001D6E 3F2E FFFE move.w -[A7], [A6 - 0x2]
00001D72 4EBA 1F76 jsr [PC + 0x1F76 /* 00003CEA */]
00001D76 3E1F move.w D7, [A7]+
00001D78 3D47 FFFC move.w [A6 - 0x4], D7
00001D7C 422D EA02 clr.b [A5 - 0x15FE]
00001D80 4CDF 0080 movem.l D7, [A7]+
00001D84 4E5E unlink A6
00001D86 4E75 rts
fn00001D88:
00001D88 4E56 FFF6 link A6, -0x000A
00001D8C 48E7 0100 movem.l -[A7], D7
00001D90 1D7C 0001 FFF8 move.b [A6 - 0x8], 0x1
00001D96 486E FFFC pea.l [A6 - 0x4]
00001D9A 486E FFFE pea.l [A6 - 0x2]
00001D9E 4EBA 20F2 jsr [PC + 0x20F2 /* 00003E92 */]
00001DA2 0C6E 0000 FFFE cmpi.w [A6 - 0x2], 0x0
00001DA8 6F00 004C ble +0x4E /* 00001DF6 */
00001DAC 4A6E FFFC tst.w [A6 - 0x4]
00001DB0 6600 0016 bne +0x18 /* 00001DC8 */
00001DB4 3F3C 0001 move.w -[A7], 0x1
00001DB8 486D EA62 pea.l [A5 - 0x159E]
00001DBC 4EBA 20F8 jsr [PC + 0x20F8 /* 00003EB6 */]
00001DC0 4EBA FF08 jsr [PC - 0xF8 /* 00001CCA */]
00001DC4 422E FFF8 clr.b [A6 - 0x8]
label00001DC8:
00001DC8 3E3C 0001 move.w D7, 0x1
00001DCC 3D47 FFFA move.w [A6 - 0x6], D7
00001DD0 BE6E FFFE cmp.w D7, [A6 - 0x2]
00001DD4 6E00 0020 bgt +0x22 /* 00001DF6 */
00001DD8 3D6E FFFE FFF6 move.w [A6 - 0xA], [A6 - 0x2]
label00001DDE:
00001DDE 3F07 move.w -[A7], D7
00001DE0 4EBA 211A jsr [PC + 0x211A /* 00003EFC */]
00001DE4 BE6E FFF6 cmp.w D7, [A6 - 0xA]
00001DE8 6C00 000C bge +0xE /* 00001DF6 */
00001DEC 5247 addq.w D7, 1
00001DEE 3D47 FFFA move.w [A6 - 0x6], D7
00001DF2 4EFA FFEA jmp [PC - 0x16 /* 00001DDE */]
label00001DF6:
00001DF6 4A2E FFF8 tst.b [A6 - 0x8]
00001DFA 6700 000A beq +0xC /* 00001E06 */
00001DFE A850 syscall InitCursor
00001E00 4227 clr.b -[A7]
00001E02 4EBA 33A0 jsr [PC + 0x33A0 /* 000051A4 */]
label00001E06:
00001E06 4CDF 0080 movem.l D7, [A7]+
00001E0A 4E5E unlink A6
00001E0C 4E75 rts
fn00001E0E:
00001E0E 4E56 FEA0 link A6, -0x0160
00001E12 48E7 0118 movem.l -[A7], D7,A3,A4
00001E16 486E FFFC pea.l [A6 - 0x4]
00001E1A 3F3C 0054 move.w -[A7], 0x54 /* 'T' */
00001E1E 3F3C 003C move.w -[A7], 0x3C /* '<' */
00001E22 A880 syscall SetPt
00001E24 3D7C 0001 FEFA move.w [A6 - 0x106], 0x1
00001E2A 2D7A 0058 FEEA move.l [A6 - 0x116], [PC + 0x58 /* 00001E84, value 0x6450555A 'dPUZ', cstring "dPUZNV" */]
00001E30 2F2E FFFC move.l -[A7], [A6 - 0x4]
00001E34 486E FEFC pea.l [A6 - 0x104]
00001E38 42A7 clr.l -[A7]
00001E3A 3F2E FEFA move.w -[A7], [A6 - 0x106]
00001E3E 486E FEEA pea.l [A6 - 0x116]
00001E42 42A7 clr.l -[A7]
00001E44 486E FEA0 pea.l [A6 - 0x160]
00001E48 4EBA 20F4 jsr [PC + 0x20F4 /* 00003F3E */]
00001E4C 4A2E FEA0 tst.b [A6 - 0x160]
00001E50 6700 002A beq +0x2C /* 00001E7C */
00001E54 3B6E FEA6 EA62 move.w [A5 - 0x159E], [A6 - 0x15A]
00001E5A 2B6E FEA2 EA64 move.l [A5 - 0x159C], [A6 - 0x15E]
00001E60 3B6E FEA8 EA68 move.w [A5 - 0x1598], [A6 - 0x158]
00001E66 49ED EA6A lea.l A4, [A5 - 0x1596]
00001E6A 47EE FEAA lea.l A3, [A6 - 0x156]
00001E6E 4247 clr.w D7
00001E70 1E13 move.b D7, [A3]
label00001E72:
00001E72 18DB move.b [A4]+, [A3]+
00001E74 51CF FFFC dbf D7, -0x6 /* 00001E72 */
00001E78 4EBA FE50 jsr [PC - 0x1B0 /* 00001CCA */]
label00001E7C:
00001E7C 4CDF 1880 movem.l D7,A3,A4, [A7]+
00001E80 4E5E unlink A6
00001E82 4E75 rts
00001E84 6450 bcc +0x52 /* 00001ED6 */
00001E86 555A subq.w [A2]+, 2
fn00001E88:
00001E88 4E56 0000 link A6, 0
00001E8C 48E7 0118 movem.l -[A7], D7,A3,A4
00001E90 4A2D EA4C tst.b [A5 - 0x15B4]
00001E94 6700 000A beq +0xC /* 00001EA0 */
00001E98 2F2D EA4E move.l -[A7], [A5 - 0x15B2]
00001E9C 4EBA 1D54 jsr [PC + 0x1D54 /* 00003BF2 */]
label00001EA0:
00001EA0 286D FCEA movea.l A4, [A5 - 0x316]
00001EA4 2854 movea.l A4, [A4]
00001EA6 2B6C 0002 EA54 move.l [A5 - 0x15AC], [A4 + 0x2]
00001EAC 2B6C 0006 EA58 move.l [A5 - 0x15A8], [A4 + 0x6]
00001EB2 486D EA4E pea.l [A5 - 0x15B2]
00001EB6 4EBA 2376 jsr [PC + 0x2376 /* 0000422E */]
00001EBA 1B7C 0001 EA4C move.b [A5 - 0x15B4], 0x1
00001EC0 286D F9C2 movea.l A4, [A5 - 0x63E]
00001EC4 47ED FF08 lea.l A3, [A5 - 0xF8]
00001EC8 49EC 0002 lea.l A4, [A4 + 0x2]
00001ECC 3E3C 000D move.w D7, 0xD /* '\r' */
label00001ED0:
00001ED0 16DC move.b [A3]+, [A4]+
00001ED2 51CF FFFC dbf D7, -0x6 /* 00001ED0 */
label00001ED6:
00001ED6 486D EA4E pea.l [A5 - 0x15B2]
00001EDA A875 syscall SetPBits/SetPortBits
00001EDC 486D EA54 pea.l [A5 - 0x15AC]
00001EE0 486D FFF0 pea.l [A5 - 0x10]
00001EE4 A8A5 syscall FillRect
00001EE6 2F2D FCEA move.l -[A7], [A5 - 0x316]
00001EEA 486D EA54 pea.l [A5 - 0x15AC]
00001EEE A8F6 syscall DrawPicture
00001EF0 486D FF08 pea.l [A5 - 0xF8]
00001EF4 A875 syscall SetPBits/SetPortBits
00001EF6 2F2D FCEA move.l -[A7], [A5 - 0x316]
00001EFA 42A7 clr.l -[A7]
00001EFC 4EBA 1D48 jsr [PC + 0x1D48 /* 00003C46 */]
00001F00 2B6D ED0C ED04 move.l [A5 - 0x12FC], [A5 - 0x12F4]
00001F06 2B6D ED10 ED08 move.l [A5 - 0x12F8], [A5 - 0x12F0]
00001F0C 486D ED04 pea.l [A5 - 0x12FC]
00001F10 3E2D ED06 move.w D7, [A5 - 0x12FA]
00001F14 4447 neg.w D7
00001F16 3F07 move.w -[A7], D7
00001F18 3E2D ED04 move.w D7, [A5 - 0x12FC]
00001F1C 4447 neg.w D7
00001F1E 3F07 move.w -[A7], D7
00001F20 A8A8 syscall OffsetRect
00001F22 4CDF 1880 movem.l D7,A3,A4, [A7]+
00001F26 4E5E unlink A6
00001F28 4E75 rts
fn00001F2A:
00001F2A 4E56 FEDA link A6, -0x0126
00001F2E 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
00001F32 286E 0008 movea.l A4, [A6 + 0x8]
00001F36 2D54 FFF8 move.l [A6 - 0x8], [A4]
00001F3A 2D6C 0004 FFFC move.l [A6 - 0x4], [A4 + 0x4]
00001F40 486E FFF8 pea.l [A6 - 0x8]
00001F44 3F3C 0028 move.w -[A7], 0x28 /* '(' */
00001F48 4267 clr.w -[A7]
00001F4A A8A9 syscall InsetRect
00001F4C 3E3C 0001 move.w D7, 0x1
00001F50 3D47 FFF6 move.w [A6 - 0xA], D7
00001F54 0C47 0004 cmpi.w D7, 0x4
00001F58 6E00 0046 bgt +0x48 /* 00001FA0 */
label00001F5C:
00001F5C 3C07 move.w D6, D7
00001F5E 5346 subq.w D6, 1
00001F60 E54E lsl D6.w, 2
00001F62 49EE FEDA lea.l A4, [A6 - 0x126]
00001F66 598F subq.l A7, 4
00001F68 2F3A 0510 move.l -[A7], [PC + 0x510 /* 0000247A, value 0x54425546 'TBUF' */]
00001F6C 3A07 move.w D5, D7
00001F6E 0645 049A addi.w D5, 0x49A
00001F72 3F05 move.w -[A7], D5
00001F74 A9A0 syscall GetResource
00001F76 2A1F move.l D5, [A7]+
00001F78 2985 6000 move.l [A4 + D6.w], D5
00001F7C 3C07 move.w D6, D7
00001F7E 5346 subq.w D6, 1
00001F80 E54E lsl D6.w, 2
00001F82 49EE FEDA lea.l A4, [A6 - 0x126]
00001F86 2F34 6000 move.l -[A7], [A4 + D6.w]
00001F8A 4EBA 1CC6 jsr [PC + 0x1CC6 /* 00003C52 */]
00001F8E 0C47 0004 cmpi.w D7, 0x4
00001F92 6C00 000C bge +0xE /* 00001FA0 */
00001F96 5247 addq.w D7, 1
00001F98 3D47 FFF6 move.w [A6 - 0xA], D7
00001F9C 4EFA FFBE jmp [PC - 0x42 /* 00001F5C */]
label00001FA0:
00001FA0 598F subq.l A7, 4
00001FA2 3F3C 03E7 move.w -[A7], 0x3E7
00001FA6 A9BC syscall GetPicture
00001FA8 2E1F move.l D7, [A7]+
00001FAA 2B47 E9F6 move.l [A5 - 0x160A], D7
00001FAE 3F3C 0003 move.w -[A7], 0x3
00001FB2 A887 syscall TextFont
00001FB4 3F3C 000C move.w -[A7], 0xC
00001FB8 A88A syscall TextSize
00001FBA 2D6E FFF8 FFEE move.l [A6 - 0x12], [A6 - 0x8]
00001FC0 2D6E FFFC FFF2 move.l [A6 - 0xE], [A6 - 0x4]
00001FC6 3E2E FFEE move.w D7, [A6 - 0x12]
00001FCA 0647 0096 addi.w D7, 0x96
00001FCE 3D47 FFEE move.w [A6 - 0x12], D7
00001FD2 49EE FEEE lea.l A4, [A6 - 0x112]
00001FD6 47FA 0470 lea.l A3, [PC + 0x470 /* 00002448, value 0x304F7468 '0Oth', pstring "Other products available from HomeTown Software:" */]
00001FDA 4247 clr.w D7
00001FDC 1E13 move.b D7, [A3]
label00001FDE:
00001FDE 18DB move.b [A4]+, [A3]+
00001FE0 51CF FFFC dbf D7, -0x6 /* 00001FDE */
00001FE4 49EE FEEE lea.l A4, [A6 - 0x112]
00001FE8 2E0C move.l D7, A4
00001FEA 5287 addq.l D7, 1
00001FEC 2F07 move.l -[A7], D7
00001FEE 4247 clr.w D7
00001FF0 1E2E FEEE move.b D7, [A6 - 0x112]
00001FF4 48C7 ext.l D7
00001FF6 2F07 move.l -[A7], D7
00001FF8 486E FFEE pea.l [A6 - 0x12]
00001FFC 3F3C 0001 move.w -[A7], 0x1
00002000 A9CE syscall TETextBox/TextBox
00002002 3F3C 0009 move.w -[A7], 0x9 /* '\t' */
00002006 A88A syscall TextSize
00002008 3E2E FFEE move.w D7, [A6 - 0x12]
0000200C 0647 0018 addi.w D7, 0x18
00002010 3D47 FFEE move.w [A6 - 0x12], D7
00002014 286E FEDA movea.l A4, [A6 - 0x126]
00002018 2F14 move.l -[A7], [A4]
0000201A 598F subq.l A7, 4
0000201C 2F2E FEDA move.l -[A7], [A6 - 0x126]
00002020 4EBA 1C10 jsr [PC + 0x1C10 /* 00003C32 */]
00002024 2E1F move.l D7, [A7]+
00002026 2F07 move.l -[A7], D7
00002028 486E FFEE pea.l [A6 - 0x12]
0000202C 4267 clr.w -[A7]
0000202E A9CE syscall TETextBox/TextBox
00002030 3E2E FFF4 move.w D7, [A6 - 0xC]
00002034 9E6E FFF0 sub.w D7, [A6 - 0x10]
00002038 48C7 ext.l D7
0000203A 8FFC 0002 divs.w D7, 0x2
0000203E 0447 000A subi.w D7, 0xA /* '\n' */
00002042 DE6E FFF0 add.w D7, [A6 - 0x10]
00002046 3D47 FFF4 move.w [A6 - 0xC], D7
0000204A 3E2E FFEE move.w D7, [A6 - 0x12]
0000204E 0647 0040 addi.w D7, 0x40 /* '@' */
00002052 3D47 FFEE move.w [A6 - 0x12], D7
00002056 286E FEDE movea.l A4, [A6 - 0x122]
0000205A 2F14 move.l -[A7], [A4]
0000205C 598F subq.l A7, 4
0000205E 2F2E FEDE move.l -[A7], [A6 - 0x122]
00002062 4EBA 1BCE jsr [PC + 0x1BCE /* 00003C32 */]
00002066 2E1F move.l D7, [A7]+
00002068 2F07 move.l -[A7], D7
0000206A 486E FFEE pea.l [A6 - 0x12]
0000206E 4267 clr.w -[A7]
00002070 A9CE syscall TETextBox/TextBox
00002072 486E FFEE pea.l [A6 - 0x12]
00002076 3E2E FFFE move.w D7, [A6 - 0x2]
0000207A 9E6E FFF4 sub.w D7, [A6 - 0xC]
0000207E 3F07 move.w -[A7], D7
00002080 4267 clr.w -[A7]
00002082 A8A8 syscall OffsetRect
00002084 286E FEE2 movea.l A4, [A6 - 0x11E]
00002088 2F14 move.l -[A7], [A4]
0000208A 598F subq.l A7, 4
0000208C 2F2E FEE2 move.l -[A7], [A6 - 0x11E]
00002090 4EBA 1BA0 jsr [PC + 0x1BA0 /* 00003C32 */]
00002094 2E1F move.l D7, [A7]+
00002096 2F07 move.l -[A7], D7
00002098 486E FFEE pea.l [A6 - 0x12]
0000209C 4267 clr.w -[A7]
0000209E A9CE syscall TETextBox/TextBox
000020A0 3D6E FFFA FFF0 move.w [A6 - 0x10], [A6 - 0x6]
000020A6 486E FFEE pea.l [A6 - 0x12]
000020AA 3F3C 0028 move.w -[A7], 0x28 /* '(' */
000020AE 4267 clr.w -[A7]
000020B0 A8A9 syscall InsetRect
000020B2 3E2E FFEE move.w D7, [A6 - 0x12]
000020B6 0647 00B4 addi.w D7, 0xB4
000020BA 3D47 FFEE move.w [A6 - 0x12], D7
000020BE 286E FEE6 movea.l A4, [A6 - 0x11A]
000020C2 2F14 move.l -[A7], [A4]
000020C4 598F subq.l A7, 4
000020C6 2F2E FEE6 move.l -[A7], [A6 - 0x11A]
000020CA 4EBA 1B66 jsr [PC + 0x1B66 /* 00003C32 */]
000020CE 2E1F move.l D7, [A7]+
000020D0 2F07 move.l -[A7], D7
000020D2 486E FFEE pea.l [A6 - 0x12]
000020D6 3F3C 0001 move.w -[A7], 0x1
000020DA A9CE syscall TETextBox/TextBox
000020DC 3E3C 0001 move.w D7, 0x1
000020E0 3D47 FFF6 move.w [A6 - 0xA], D7
000020E4 0C47 0004 cmpi.w D7, 0x4
000020E8 6E00 0036 bgt +0x38 /* 00002120 */
label000020EC:
000020EC 3C07 move.w D6, D7
000020EE 5346 subq.w D6, 1
000020F0 E54E lsl D6.w, 2
000020F2 49EE FEDA lea.l A4, [A6 - 0x126]
000020F6 2F34 6000 move.l -[A7], [A4 + D6.w]
000020FA 4EBA 1B60 jsr [PC + 0x1B60 /* 00003C5C */]
000020FE 3C07 move.w D6, D7
00002100 5346 subq.w D6, 1
00002102 E54E lsl D6.w, 2
00002104 49EE FEDA lea.l A4, [A6 - 0x126]
00002108 2F34 6000 move.l -[A7], [A4 + D6.w]
0000210C A9A3 syscall ReleaseResource
0000210E 0C47 0004 cmpi.w D7, 0x4
00002112 6C00 000C bge +0xE /* 00002120 */
00002116 5247 addq.w D7, 1
00002118 3D47 FFF6 move.w [A6 - 0xA], D7
0000211C 4EFA FFCE jmp [PC - 0x32 /* 000020EC */]
label00002120:
00002120 286D E9F6 movea.l A4, [A5 - 0x160A]
00002124 2854 movea.l A4, [A4]
00002126 2B6C 0002 E9FA move.l [A5 - 0x1606], [A4 + 0x2]
0000212C 2B6C 0006 E9FE move.l [A5 - 0x1602], [A4 + 0x6]
00002132 486D E9FA pea.l [A5 - 0x1606]
00002136 3E2E FFFA move.w D7, [A6 - 0x6]
0000213A 0647 001E addi.w D7, 0x1E
0000213E 9E6D E9FC sub.w D7, [A5 - 0x1604]
00002142 3F07 move.w -[A7], D7
00002144 3E2E FFF8 move.w D7, [A6 - 0x8]
00002148 0647 000A addi.w D7, 0xA /* '\n' */
0000214C 9E6D E9FA sub.w D7, [A5 - 0x1606]
00002150 3F07 move.w -[A7], D7
00002152 A8A8 syscall OffsetRect
00002154 4EBA 27C4 jsr [PC + 0x27C4 /* 0000491A */]
00002158 2F2D E9F6 move.l -[A7], [A5 - 0x160A]
0000215C A9A3 syscall ReleaseResource
0000215E 598F subq.l A7, 4
00002160 3F3C 03EF move.w -[A7], 0x3EF
00002164 A9BC syscall GetPicture
00002166 2E1F move.l D7, [A7]+
00002168 2B47 E9F6 move.l [A5 - 0x160A], D7
0000216C 286D E9F6 movea.l A4, [A5 - 0x160A]
00002170 2854 movea.l A4, [A4]
00002172 2D6C 0002 FFEE move.l [A6 - 0x12], [A4 + 0x2]
00002178 2D6C 0006 FFF2 move.l [A6 - 0xE], [A4 + 0x6]
0000217E 3E2E FFFE move.w D7, [A6 - 0x2]
00002182 9E6E FFFA sub.w D7, [A6 - 0x6]
00002186 3C2E FFF4 move.w D6, [A6 - 0xC]
0000218A 9C6E FFF0 sub.w D6, [A6 - 0x10]
0000218E 9E46 sub.w D7, D6
00002190 48C7 ext.l D7
00002192 8FFC 0002 divs.w D7, 0x2
00002196 3D47 FFF6 move.w [A6 - 0xA], D7
0000219A 486E FFEE pea.l [A6 - 0x12]
0000219E 3E2E FFFA move.w D7, [A6 - 0x6]
000021A2 DE6E FFF6 add.w D7, [A6 - 0xA]
000021A6 9E6E FFF0 sub.w D7, [A6 - 0x10]
000021AA 3F07 move.w -[A7], D7
000021AC 3E2E FFFC move.w D7, [A6 - 0x4]
000021B0 0447 0032 subi.w D7, 0x32 /* '2' */
000021B4 9E6E FFF2 sub.w D7, [A6 - 0xE]
000021B8 3F07 move.w -[A7], D7
000021BA A8A8 syscall OffsetRect
000021BC 2F2D E9F6 move.l -[A7], [A5 - 0x160A]
000021C0 486E FFEE pea.l [A6 - 0x12]
000021C4 A8F6 syscall DrawPicture
000021C6 2F2D E9F6 move.l -[A7], [A5 - 0x160A]
000021CA A9A3 syscall ReleaseResource
000021CC 486E FEEE pea.l [A6 - 0x112]
000021D0 3F3C 03E8 move.w -[A7], 0x3E8
000021D4 3F3C 0002 move.w -[A7], 0x2
000021D8 4EBA 1D92 jsr [PC + 0x1D92 /* 00003F6C */]
000021DC 2D6D E9FA FFEE move.l [A6 - 0x12], [A5 - 0x1606]
000021E2 2D6D E9FE FFF2 move.l [A6 - 0xE], [A5 - 0x1602]
000021E8 3E2E FFEE move.w D7, [A6 - 0x12]
000021EC 0647 000A addi.w D7, 0xA /* '\n' */
000021F0 3D47 FFEE move.w [A6 - 0x12], D7
000021F4 3E2E FFF4 move.w D7, [A6 - 0xC]
000021F8 0647 0014 addi.w D7, 0x14
000021FC 3D47 FFF0 move.w [A6 - 0x10], D7
00002200 3E2E FFF0 move.w D7, [A6 - 0x10]
00002204 0647 006E addi.w D7, 0x6E /* 'n' */
00002208 3D47 FFF4 move.w [A6 - 0xC], D7
0000220C 3E2E FFEE move.w D7, [A6 - 0x12]
00002210 0647 0014 addi.w D7, 0x14
00002214 3D47 FFF2 move.w [A6 - 0xE], D7
00002218 49EE FEEE lea.l A4, [A6 - 0x112]
0000221C 2E0C move.l D7, A4
0000221E 5287 addq.l D7, 1
00002220 2F07 move.l -[A7], D7
00002222 4247 clr.w D7
00002224 1E2E FEEE move.b D7, [A6 - 0x112]
00002228 48C7 ext.l D7
0000222A 2F07 move.l -[A7], D7
0000222C 486E FFEE pea.l [A6 - 0x12]
00002230 4267 clr.w -[A7]
00002232 A9CE syscall TETextBox/TextBox
00002234 286D E9BC movea.l A4, [A5 - 0x1644]
00002238 2854 movea.l A4, [A4]
0000223A 2F14 move.l -[A7], [A4]
0000223C 486E FEEE pea.l [A6 - 0x112]
00002240 4EBA 1D16 jsr [PC + 0x1D16 /* 00003F58 */]
00002244 486E FFEE pea.l [A6 - 0x12]
00002248 4267 clr.w -[A7]
0000224A 3F3C 0010 move.w -[A7], 0x10
0000224E A8A8 syscall OffsetRect
00002250 49EE FEEE lea.l A4, [A6 - 0x112]
00002254 2E0C move.l D7, A4
00002256 5287 addq.l D7, 1
00002258 2F07 move.l -[A7], D7
0000225A 4247 clr.w D7
0000225C 1E2E FEEE move.b D7, [A6 - 0x112]
00002260 48C7 ext.l D7
00002262 2F07 move.l -[A7], D7
00002264 486E FFEE pea.l [A6 - 0x12]
00002268 4267 clr.w -[A7]
0000226A A9CE syscall TETextBox/TextBox
0000226C 286D E9BC movea.l A4, [A5 - 0x1644]
00002270 2854 movea.l A4, [A4]
00002272 2F2C 0004 move.l -[A7], [A4 + 0x4]
00002276 486E FEEE pea.l [A6 - 0x112]
0000227A 4EBA 1CDC jsr [PC + 0x1CDC /* 00003F58 */]
0000227E 486E FFEE pea.l [A6 - 0x12]
00002282 4267 clr.w -[A7]
00002284 3F3C 0010 move.w -[A7], 0x10
00002288 A8A8 syscall OffsetRect
0000228A 49EE FEEE lea.l A4, [A6 - 0x112]
0000228E 2E0C move.l D7, A4
00002290 5287 addq.l D7, 1
00002292 2F07 move.l -[A7], D7
00002294 4247 clr.w D7
00002296 1E2E FEEE move.b D7, [A6 - 0x112]
0000229A 48C7 ext.l D7
0000229C 2F07 move.l -[A7], D7
0000229E 486E FFEE pea.l [A6 - 0x12]
000022A2 4267 clr.w -[A7]
000022A4 A9CE syscall TETextBox/TextBox
000022A6 286D E9BC movea.l A4, [A5 - 0x1644]
000022AA 2854 movea.l A4, [A4]
000022AC 2F2C 0008 move.l -[A7], [A4 + 0x8]
000022B0 486E FEEE pea.l [A6 - 0x112]
000022B4 4EBA 1CA2 jsr [PC + 0x1CA2 /* 00003F58 */]
000022B8 486E FFEE pea.l [A6 - 0x12]
000022BC 4267 clr.w -[A7]
000022BE 3F3C 0010 move.w -[A7], 0x10
000022C2 A8A8 syscall OffsetRect
000022C4 49EE FEEE lea.l A4, [A6 - 0x112]
000022C8 2E0C move.l D7, A4
000022CA 5287 addq.l D7, 1
000022CC 2F07 move.l -[A7], D7
000022CE 4247 clr.w D7
000022D0 1E2E FEEE move.b D7, [A6 - 0x112]
000022D4 48C7 ext.l D7
000022D6 2F07 move.l -[A7], D7
000022D8 486E FFEE pea.l [A6 - 0x12]
000022DC 4267 clr.w -[A7]
000022DE A9CE syscall TETextBox/TextBox
000022E0 286D E9BC movea.l A4, [A5 - 0x1644]
000022E4 2854 movea.l A4, [A4]
000022E6 2F2C 000C move.l -[A7], [A4 + 0xC]
000022EA 486E FEEE pea.l [A6 - 0x112]
000022EE 4EBA 1C68 jsr [PC + 0x1C68 /* 00003F58 */]
000022F2 486E FFEE pea.l [A6 - 0x12]
000022F6 4267 clr.w -[A7]
000022F8 3F3C 0010 move.w -[A7], 0x10
000022FC A8A8 syscall OffsetRect
000022FE 49EE FEEE lea.l A4, [A6 - 0x112]
00002302 2E0C move.l D7, A4
00002304 5287 addq.l D7, 1
00002306 2F07 move.l -[A7], D7
00002308 4247 clr.w D7
0000230A 1E2E FEEE move.b D7, [A6 - 0x112]
0000230E 48C7 ext.l D7
00002310 2F07 move.l -[A7], D7
00002312 486E FFEE pea.l [A6 - 0x12]
00002316 4267 clr.w -[A7]
00002318 A9CE syscall TETextBox/TextBox
0000231A 3F3C 000C move.w -[A7], 0xC
0000231E A88A syscall TextSize
00002320 486E FEEE pea.l [A6 - 0x112]
00002324 3F3C 03E8 move.w -[A7], 0x3E8
00002328 3F3C 0003 move.w -[A7], 0x3
0000232C 4EBA 1C3E jsr [PC + 0x1C3E /* 00003F6C */]
00002330 2D6E FFF8 FFEE move.l [A6 - 0x12], [A6 - 0x8]
00002336 2D6E FFFC FFF2 move.l [A6 - 0xE], [A6 - 0x4]
0000233C 3E2E FFEE move.w D7, [A6 - 0x12]
00002340 0647 000A addi.w D7, 0xA /* '\n' */
00002344 3D47 FFEE move.w [A6 - 0x12], D7
00002348 3E2E FFF4 move.w D7, [A6 - 0xC]
0000234C 0447 00B4 subi.w D7, 0xB4
00002350 3D47 FFF0 move.w [A6 - 0x10], D7
00002354 3D7C 0081 FFF2 move.w [A6 - 0xE], 0x81
0000235A 49EE FEEE lea.l A4, [A6 - 0x112]
0000235E 2E0C move.l D7, A4
00002360 5287 addq.l D7, 1
00002362 2F07 move.l -[A7], D7
00002364 4247 clr.w D7
00002366 1E2E FEEE move.b D7, [A6 - 0x112]
0000236A 48C7 ext.l D7
0000236C 2F07 move.l -[A7], D7
0000236E 486E FFEE pea.l [A6 - 0x12]
00002372 4267 clr.w -[A7]
00002374 A9CE syscall TETextBox/TextBox
00002376 486E FFEE pea.l [A6 - 0x12]
0000237A 3F3C FF46 move.w -[A7], 0xFF46
0000237E 4267 clr.w -[A7]
00002380 A8A8 syscall OffsetRect
00002382 3E2E FFEE move.w D7, [A6 - 0x12]
00002386 0647 0020 addi.w D7, 0x20 /* ' ' */
0000238A 3D47 FFF2 move.w [A6 - 0xE], D7
0000238E 3E2E FFF4 move.w D7, [A6 - 0xC]
00002392 0447 0020 subi.w D7, 0x20 /* ' ' */
00002396 3D47 FFF0 move.w [A6 - 0x10], D7
0000239A 598F subq.l A7, 4
0000239C 3F3C 0082 move.w -[A7], 0x82
000023A0 A9BB syscall GetIcon
000023A2 2E1F move.l D7, [A7]+
000023A4 2D47 FEEA move.l [A6 - 0x116], D7
000023A8 486E FFEE pea.l [A6 - 0x12]
000023AC 2F2E FEEA move.l -[A7], [A6 - 0x116]
000023B0 A94B syscall PlotIcon
000023B2 2F2E FEEA move.l -[A7], [A6 - 0x116]
000023B6 A9A3 syscall ReleaseResource
000023B8 3E2E FFFA move.w D7, [A6 - 0x6]
000023BC 0647 0014 addi.w D7, 0x14
000023C0 3F07 move.w -[A7], D7
000023C2 3E2E FFF8 move.w D7, [A6 - 0x8]
000023C6 0647 0088 addi.w D7, 0x88
000023CA 3F07 move.w -[A7], D7
000023CC A893 syscall MoveTo
000023CE 3F3C 000C move.w -[A7], 0xC
000023D2 A88A syscall TextSize
000023D4 3F3C 0011 move.w -[A7], 0x11
000023D8 A888 syscall TextFace
000023DA 286D E9DC movea.l A4, [A5 - 0x1624]
000023DE 2854 movea.l A4, [A4]
000023E0 598F subq.l A7, 4
000023E2 2F14 move.l -[A7], [A4]
000023E4 2F3C 0000 2710 move.l -[A7], 0x2710
000023EA 4EBA 16E2 jsr [PC + 0x16E2 /* 00003ACE */]
000023EE 2E1F move.l D7, [A7]+
000023F0 286D E9DC movea.l A4, [A5 - 0x1624]
000023F4 2854 movea.l A4, [A4]
000023F6 598F subq.l A7, 4
000023F8 2F2C 0004 move.l -[A7], [A4 + 0x4]
000023FC 2F3C 0000 0064 move.l -[A7], 0x64 /* 'd' */
00002402 4EBA 16CA jsr [PC + 0x16CA /* 00003ACE */]
00002406 2C1F move.l D6, [A7]+
00002408 DC87 add.l D6, D7
0000240A 286D E9DC movea.l A4, [A5 - 0x1624]
0000240E 2854 movea.l A4, [A4]
00002410 DCAC 0008 add.l D6, [A4 + 0x8]
00002414 2F06 move.l -[A7], D6
00002416 486E FEEE pea.l [A6 - 0x112]
0000241A 4EBA 1B3C jsr [PC + 0x1B3C /* 00003F58 */]
0000241E 487A 0014 pea.l [PC + 0x14 /* 00002434, value 0x1350555A, pstring "PUZZL #1 KeyCode = " */]
00002422 A884 syscall DrawString
00002424 486E FEEE pea.l [A6 - 0x112]
00002428 A884 syscall DrawString
0000242A 4CDF 18E0 movem.l D5,D6,D7,A3,A4, [A7]+
0000242E 4E5E unlink A6
00002430 2E9F move.l [A7], [A7]+
00002432 4E75 rts
00002434 1350 555A move.b [A1 + 0x555A], [A0]
00002438 5A4C addq.w A4, 5
0000243A 2023 move.l D0, -[A3]
0000243C 3120 move.w -[A0], -[A0]
0000243E 4B65 chk.w D5, -[A5]
00002440 7943 moveq.l D4, 0x43
00002442 6F64 ble +0x66 /* 000024A8 */
00002444 6520 bcs +0x22 /* 00002466 */
00002446 3D20 move.w -[A6], -[A0]
00002448 304F movea.w A0, A7
0000244A 7468 moveq.l D2, 0x68
0000244C 6572 bcs +0x74 /* 000024C0 */
0000244E 2070 726F movea.l A0, [A0 + D7.w * 2 + 0x6F]
00002452 6475 bcc +0x77 /* 000024C9 */
00002454 6374 bls +0x76 /* 000024CA */
00002456 7320 moveq.l D1, 0x20
00002458 6176 bsr +0x78 /* 000024D0 */
0000245A 6169 bsr +0x6B /* 000024C5 */
0000245C 6C61 bge +0x63 /* 000024BF */
0000245E 626C bhi +0x6E /* 000024CC */
00002460 6520 bcs +0x22 /* 00002482 */
00002462 6672 bne +0x74 /* 000024D6 */
00002464 6F6D ble +0x6F /* 000024D3 */
label00002466:
00002466 2048 movea.l A0, A0
00002468 6F6D ble +0x6F /* 000024D7 */
0000246A 6554 bcs +0x56 /* 000024C0 */
0000246C 6F77 ble +0x79 /* 000024E5 */
0000246E 6E20 bgt +0x22 /* 00002490 */
00002470 536F 6674 subq.w [A7 + 0x6674], 1
00002474 7761 moveq.l D3, 0x61
00002476 7265 moveq.l D1, 0x65
00002478 3A00 move.w D5, D0
0000247A 5442 addq.w D2, 2
0000247C 5546 subq.w D6, 2
fn0000247E:
0000247E 4E56 FFE8 link A6, -0x0018
label00002482:
00002482 48E7 0118 movem.l -[A7], D7,A3,A4
00002486 286E 0008 movea.l A4, [A6 + 0x8]
0000248A 47EE FFF0 lea.l A3, [A6 - 0x10]
0000248E 3E3C 000F move.w D7, 0xF
// begin alternate branch 00002490-00002494
label00002490:
00002490 000F 16DC ori.b A7, 0xDC
// end alternate branch 00002490-00002494
label00002490: // (misaligned)
label00002492:
00002492 16DC move.b [A3]+, [A4]+
00002494 51CF FFFC dbf D7, -0x6 /* 00002492 */
00002498 2D6E FFF2 FFE8 move.l [A6 - 0x18], [A6 - 0xE]
0000249E 486E FFEC pea.l [A6 - 0x14]
000024A2 A874 syscall GetPort
000024A4 2F2E FFE8 move.l -[A7], [A6 - 0x18]
label000024A8:
000024A8 A873 syscall SetPort
000024AA 2F2E FFE8 move.l -[A7], [A6 - 0x18]
000024AE A922 syscall BeginUpdate
000024B0 2E2E FFE8 move.l D7, [A6 - 0x18]
000024B4 BEAD F9BA cmp.l D7, [A5 - 0x646]
000024B8 6600 0022 bne +0x24 /* 000024DC */
000024BC 286E FFE8 movea.l A4, [A6 - 0x18]
label000024C0:
000024C0 286C 0018 movea.l A4, [A4 + 0x18]
000024C4 2854 movea.l A4, [A4]
000024C6 486C 0002 pea.l [A4 + 0x2]
label000024CA:
000024CA A8A3 syscall EraseRect
label000024CC:
000024CC 4EBA E650 jsr [PC - 0x19B0 /* 00000B1E */]
fn000024D0:
000024D0 2F2E FFE8 move.l -[A7], [A6 - 0x18]
000024D4 A923 syscall EndUpdate
label000024D6:
000024D6 2F2E FFE8 move.l -[A7], [A6 - 0x18]
000024DA A904 syscall DrawGrowIcon
label000024DC:
000024DC 2E2E FFE8 move.l D7, [A6 - 0x18]
000024E0 BEAD F9C2 cmp.l D7, [A5 - 0x63E]
000024E4 6600 001C bne +0x1E /* 00002502 */
000024E8 286E FFE8 movea.l A4, [A6 - 0x18]
000024EC 286C 0018 movea.l A4, [A4 + 0x18]
000024F0 2854 movea.l A4, [A4]
000024F2 486C 0002 pea.l [A4 + 0x2]
000024F6 A8A3 syscall EraseRect
000024F8 4EBA E572 jsr [PC - 0x1A8E /* 00000A6C */]
000024FC 2F2E FFE8 move.l -[A7], [A6 - 0x18]
00002500 A923 syscall EndUpdate
label00002502:
00002502 2E2E FFE8 move.l D7, [A6 - 0x18]
00002506 BEAD F9BE cmp.l D7, [A5 - 0x642]
0000250A 6600 0022 bne +0x24 /* 0000252E */
0000250E 486D FF16 pea.l [A5 - 0xEA]
00002512 286D F9BE movea.l A4, [A5 - 0x642]
00002516 486C 0002 pea.l [A4 + 0x2]
0000251A 486D FF1C pea.l [A5 - 0xE4]
0000251E 486D EDB0 pea.l [A5 - 0x1250]
00002522 4267 clr.w -[A7]
00002524 42A7 clr.l -[A7]
00002526 A8EC syscall CopyBits
00002528 2F2E FFE8 move.l -[A7], [A6 - 0x18]
0000252C A923 syscall EndUpdate
label0000252E:
0000252E 2E2E FFE8 move.l D7, [A6 - 0x18]
00002532 BEAD F9B6 cmp.l D7, [A5 - 0x64A]
00002536 6600 0042 bne +0x44 /* 0000257A */
0000253A 286E FFE8 movea.l A4, [A6 - 0x18]
0000253E 286C 0018 movea.l A4, [A4 + 0x18]
00002542 2854 movea.l A4, [A4]
00002544 486C 0002 pea.l [A4 + 0x2]
00002548 A8A3 syscall EraseRect
0000254A 286D EA48 movea.l A4, [A5 - 0x15B8]
0000254E 2854 movea.l A4, [A4]
00002550 2F2C 0008 move.l -[A7], [A4 + 0x8]
00002554 286D F9B6 movea.l A4, [A5 - 0x64A]
00002558 486C 0010 pea.l [A4 + 0x10]
0000255C A8F6 syscall DrawPicture
0000255E 286D EA48 movea.l A4, [A5 - 0x15B8]
00002562 2854 movea.l A4, [A4]
00002564 486C 000C pea.l [A4 + 0xC]
00002568 286D EA48 movea.l A4, [A5 - 0x15B8]
0000256C 2854 movea.l A4, [A4]
0000256E 486C 0144 pea.l [A4 + 0x144]
00002572 A8A5 syscall FillRect
00002574 2F2E FFE8 move.l -[A7], [A6 - 0x18]
00002578 A923 syscall EndUpdate
label0000257A:
0000257A 2E2E FFE8 move.l D7, [A6 - 0x18]
0000257E BEAD F9B2 cmp.l D7, [A5 - 0x64E]
00002582 6600 001C bne +0x1E /* 000025A0 */
00002586 286E FFE8 movea.l A4, [A6 - 0x18]
0000258A 286C 0018 movea.l A4, [A4 + 0x18]
0000258E 2854 movea.l A4, [A4]
00002590 486C 0002 pea.l [A4 + 0x2]
00002594 A8A3 syscall EraseRect
00002596 4EBA E822 jsr [PC - 0x17DE /* 00000DBA */]
0000259A 2F2E FFE8 move.l -[A7], [A6 - 0x18]
0000259E A923 syscall EndUpdate
label000025A0:
000025A0 2F2E FFEC move.l -[A7], [A6 - 0x14]
000025A4 A873 syscall SetPort
000025A6 4CDF 1880 movem.l D7,A3,A4, [A7]+
000025AA 4E5E unlink A6
000025AC 2E9F move.l [A7], [A7]+
000025AE 4E75 rts
fn000025B0:
000025B0 4E56 FEE2 link A6, -0x011E
000025B4 48E7 0118 movem.l -[A7], D7,A3,A4
000025B8 486E FFF8 pea.l [A6 - 0x8]
000025BC A874 syscall GetPort
000025BE 2F2D EB82 move.l -[A7], [A5 - 0x147E]
000025C2 A915 syscall ShowWindow
000025C4 2F2D EB82 move.l -[A7], [A5 - 0x147E]
000025C8 A91F syscall SelectWindow
000025CA 2F2D EB82 move.l -[A7], [A5 - 0x147E]
000025CE A873 syscall SetPort
000025D0 3D7C 0011 FFE4 move.w [A6 - 0x1C], 0x11
000025D6 3D6E FFE4 FFE2 move.w [A6 - 0x1E], [A6 - 0x1C]
000025DC 1D7C 0001 FFE2 move.b [A6 - 0x1E], 0x1
000025E2 486E FFE2 pea.l [A6 - 0x1E]
000025E6 487A 00AC pea.l [PC + 0xAC /* 00002694, value 0x2202E00, pstring " ." */]
000025EA 486E FEE2 pea.l [A6 - 0x11E]
000025EE 3F3C 0002 move.w -[A7], 0x2
000025F2 4EBA 1572 jsr [PC + 0x1572 /* 00003B66 */]
000025F6 49ED FE08 lea.l A4, [A5 - 0x1F8]
000025FA 47EE FEE2 lea.l A3, [A6 - 0x11E]
000025FE 4247 clr.w D7
00002600 1E13 move.b D7, [A3]
label00002602:
00002602 18DB move.b [A4]+, [A3]+
00002604 51CF FFFC dbf D7, -0x6 /* 00002602 */
00002608 486D FE08 pea.l [A5 - 0x1F8]
0000260C 487A 0084 pea.l [PC + 0x84 /* 00002692, value 0x220, cstring "" */]
00002610 487A 007E pea.l [PC + 0x7E /* 00002690, value 0x0, cstring "" */]
00002614 487A 0078 pea.l [PC + 0x78 /* 0000268E, value 0x0, cstring "" */]
00002618 A98B syscall ParamText
label0000261A:
0000261A 558F subq.l A7, 2
0000261C 3F3C FFFF move.w -[A7], 0xFFFF
00002620 486E FFE8 pea.l [A6 - 0x18]
00002624 A970 syscall GetNextEvent
00002626 1E1F move.b D7, [A7]+
00002628 1D47 FFFE move.b [A6 - 0x2], D7
0000262C 558F subq.l A7, 2
0000262E 486E FFE8 pea.l [A6 - 0x18]
00002632 A97F syscall IsDialogEvent
00002634 1E1F move.b D7, [A7]+
00002636 1D47 FFFC move.b [A6 - 0x4], D7
0000263A 4A2E FFFC tst.b [A6 - 0x4]
0000263E 6700 001C beq +0x1E /* 0000265C */
00002642 558F subq.l A7, 2
00002644 486E FFE8 pea.l [A6 - 0x18]
00002648 486D EB82 pea.l [A5 - 0x147E]
0000264C 486E FFE6 pea.l [A6 - 0x1A]
00002650 A980 syscall DialogSelect
00002652 1E1F move.b D7, [A7]+
00002654 1D47 FFFE move.b [A6 - 0x2], D7
00002658 4EFA 0014 jmp [PC + 0x14 /* 0000266E */]
label0000265C:
0000265C 0C6E 0006 FFE8 cmpi.w [A6 - 0x18], 0x6
00002662 6600 000A bne +0xC /* 0000266E */
00002666 486E FFE8 pea.l [A6 - 0x18]
0000266A 4EBA FE12 jsr [PC - 0x1EE /* 0000247E */]
label0000266E:
0000266E 558F subq.l A7, 2
00002670 3F3C FFFF move.w -[A7], 0xFFFF
00002674 486E FFE8 pea.l [A6 - 0x18]
00002678 A971 syscall EventAvail
0000267A 1E1F move.b D7, [A7]+
0000267C 6600 FF9C bne -0x62 /* 0000261A */
00002680 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00002684 A873 syscall SetPort
00002686 4CDF 1880 movem.l D7,A3,A4, [A7]+
0000268A 4E5E unlink A6
0000268C 4E75 rts
0000268E 0000 0000 ori.b D0, 0x0
00002692 0000 0220 ori.b D0, 0x20 /* ' ' */
00002696 2E00 move.l D7, D0
fn00002698:
00002698 4E56 FFDA link A6, -0x0026
0000269C 48E7 0308 movem.l -[A7], D6,D7,A4
000026A0 486E FFDE pea.l [A6 - 0x22]
000026A4 A874 syscall GetPort
000026A6 598F subq.l A7, 4
000026A8 3F3C 0086 move.w -[A7], 0x86
000026AC 42A7 clr.l -[A7]
000026AE 2F3C FFFF FFFF move.l -[A7], 0xFFFFFFFF
000026B4 A97C syscall GetNewDialog
000026B6 2E1F move.l D7, [A7]+
000026B8 2B47 EB82 move.l [A5 - 0x147E], D7
000026BC 598F subq.l A7, 4
000026BE 2F3C 0000 0078 move.l -[A7], 0x78 /* 'x' */
000026C4 4EBA 1556 jsr [PC + 0x1556 /* 00003C1C */]
000026C8 2E1F move.l D7, [A7]+
000026CA 2D47 FFDA move.l [A6 - 0x26], D7
000026CE 4EBA 1A78 jsr [PC + 0x1A78 /* 00004148 */]
000026D2 558F subq.l A7, 2
000026D4 4EBA 1AC2 jsr [PC + 0x1AC2 /* 00004198 */]
000026D8 3E1F move.w D7, [A7]+
000026DA 4A47 tst.w D7
000026DC 6600 00A2 bne +0xA4 /* 00002780 */
000026E0 2F2E FFDA move.l -[A7], [A6 - 0x26]
000026E4 4EBA 1958 jsr [PC + 0x1958 /* 0000403E */]
000026E8 558F subq.l A7, 2
000026EA 2F2E FFDA move.l -[A7], [A6 - 0x26]
000026EE 4EBA 195E jsr [PC + 0x195E /* 0000404E */]
000026F2 1E1F move.b D7, [A7]+
000026F4 6700 008A beq +0x8C /* 00002780 */
000026F8 4EBA FEB6 jsr [PC - 0x14A /* 000025B0 */]
000026FC 598F subq.l A7, 4
000026FE 2F2E FFDA move.l -[A7], [A6 - 0x26]
00002702 42A7 clr.l -[A7]
00002704 42A7 clr.l -[A7]
00002706 4EBA 18E6 jsr [PC + 0x18E6 /* 00003FEE */]
0000270A 2E1F move.l D7, [A7]+
0000270C 2D47 FFFC move.l [A6 - 0x4], D7
00002710 2F2E FFFC move.l -[A7], [A6 - 0x4]
00002714 42A7 clr.l -[A7]
00002716 4EBA 18FC jsr [PC + 0x18FC /* 00004014 */]
0000271A 558F subq.l A7, 2
0000271C 4EBA 1A7A jsr [PC + 0x1A7A /* 00004198 */]
00002720 3E1F move.w D7, [A7]+
00002722 4A47 tst.w D7
00002724 6600 0010 bne +0x12 /* 00002736 */
00002728 286E FFDA movea.l A4, [A6 - 0x26]
0000272C 2854 movea.l A4, [A4]
0000272E 486C 0008 pea.l [A4 + 0x8]
00002732 4EBA F7F6 jsr [PC - 0x80A /* 00001F2A */]
label00002736:
00002736 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000273A 4EBA 18E0 jsr [PC + 0x18E0 /* 0000401C */]
0000273E 2F2E FFFC move.l -[A7], [A6 - 0x4]
00002742 4EBA 18C8 jsr [PC + 0x18C8 /* 0000400C */]
00002746 286E FFDA movea.l A4, [A6 - 0x26]
0000274A 2854 movea.l A4, [A4]
0000274C 1E2C 0044 move.b D7, [A4 + 0x44]
00002750 4887 ext.w D7
00002752 0C47 0001 cmpi.w D7, 0x1
00002756 57C7 seq D7
00002758 4407 neg.b D7
0000275A 558F subq.l A7, 2
0000275C 4EBA 1A3A jsr [PC + 0x1A3A /* 00004198 */]
00002760 3C1F move.w D6, [A7]+
00002762 4A46 tst.w D6
00002764 57C6 seq D6
00002766 4406 neg.b D6
00002768 CC07 and.b D6, D7
0000276A 6700 0014 beq +0x16 /* 00002780 */
0000276E 2F2E FFDA move.l -[A7], [A6 - 0x26]
00002772 42A7 clr.l -[A7]
00002774 42A7 clr.l -[A7]
00002776 42A7 clr.l -[A7]
00002778 486E FFE2 pea.l [A6 - 0x1E]
0000277C 4EBA 1902 jsr [PC + 0x1902 /* 00004080 */]
label00002780:
00002780 4EBA 19CE jsr [PC + 0x19CE /* 00004150 */]
00002784 2F2D EB82 move.l -[A7], [A5 - 0x147E]
00002788 A916 syscall HideWindow
0000278A 2F2D EB82 move.l -[A7], [A5 - 0x147E]
0000278E A983 syscall DisposeDialog
00002790 2F2E FFDA move.l -[A7], [A6 - 0x26]
00002794 4EBA 1492 jsr [PC + 0x1492 /* 00003C28 */]
00002798 2F2E FFDE move.l -[A7], [A6 - 0x22]
0000279C A873 syscall SetPort
0000279E 4CDF 10C0 movem.l D6,D7,A4, [A7]+
000027A2 4E5E unlink A6
000027A4 4E75 rts
fn000027A6:
000027A6 4E56 FEFC link A6, -0x0104
000027AA 48E7 0100 movem.l -[A7], D7
000027AE 558F subq.l A7, 2
000027B0 2F2E 0008 move.l -[A7], [A6 + 0x8]
000027B4 A86A syscall HiWord
000027B6 3E1F move.w D7, [A7]+
000027B8 3B47 F9A8 move.w [A5 - 0x658], D7
000027BC 558F subq.l A7, 2
000027BE 2F2E 0008 move.l -[A7], [A6 + 0x8]
000027C2 A86B syscall LoWord
000027C4 3E1F move.w D7, [A7]+
000027C6 3B47 F9A6 move.w [A5 - 0x65A], D7
000027CA 4EFA 0300 jmp [PC + 0x300 /* 00002ACC */]
label000027CE:
000027CE 0C6D 0001 F9A6 cmpi.w [A5 - 0x65A], 0x1
000027D4 6600 000C bne +0xE /* 000027E2 */
000027D8 4227 clr.b -[A7]
000027DA 4EBA 29C8 jsr [PC + 0x29C8 /* 000051A4 */]
000027DE 4EFA 0034 jmp [PC + 0x34 /* 00002814 */]
label000027E2:
000027E2 0C6D 0002 F9A6 cmpi.w [A5 - 0x65A], 0x2
000027E8 6F00 002A ble +0x2C /* 00002814 */
000027EC 486E FEFC pea.l [A6 - 0x104]
000027F0 A874 syscall GetPort
000027F2 2F2D F98E move.l -[A7], [A5 - 0x672]
000027F6 3F2D F9A6 move.w -[A7], [A5 - 0x65A]
000027FA 486E FF00 pea.l [A6 - 0x100]
000027FE A946 syscall GetMenuItemText/GetItem
00002800 558F subq.l A7, 2
00002802 486E FF00 pea.l [A6 - 0x100]
00002806 A9B6 syscall OpenDeskAcc
00002808 3E1F move.w D7, [A7]+
0000280A 3B47 F9AA move.w [A5 - 0x656], D7
0000280E 2F2E FEFC move.l -[A7], [A6 - 0x104]
00002812 A873 syscall SetPort
label00002814:
00002814 4EFA 02EA jmp [PC + 0x2EA /* 00002B00 */]
label00002818:
00002818 4EFA 00FC jmp [PC + 0xFC /* 00002916 */]
0000281C 4EBA EADA jsr [PC - 0x1526 /* 000012F8 */]
00002820 4EFA 0126 jmp [PC + 0x126 /* 00002948 */]
00002824 4EBA F5E8 jsr [PC - 0xA18 /* 00001E0E */]
00002828 4EFA 011E jmp [PC + 0x11E /* 00002948 */]
0000282C 0C6D 0002 ED1C cmpi.w [A5 - 0x12E4], 0x2
00002832 6C00 000A bge +0xC /* 0000283E */
00002836 4EBA EC30 jsr [PC - 0x13D0 /* 00001468 */]
0000283A 4EFA 0006 jmp [PC + 0x6 /* 00002842 */]
label0000283E:
0000283E 4EBA F298 jsr [PC - 0xD68 /* 00001AD8 */]
label00002842:
00002842 4EFA 0104 jmp [PC + 0x104 /* 00002948 */]
00002846 0C6D 0002 ED1C cmpi.w [A5 - 0x12E4], 0x2
0000284C 6600 0006 bne +0x8 /* 00002854 */
00002850 4EBA F0B8 jsr [PC - 0xF48 /* 0000190A */]
label00002854:
00002854 4EFA 00F2 jmp [PC + 0xF2 /* 00002948 */]
00002858 4A2D EA4C tst.b [A5 - 0x15B4]
0000285C 6700 000A beq +0xC /* 00002868 */
00002860 2F2D EA4E move.l -[A7], [A5 - 0x15B2]
00002864 4EBA 138C jsr [PC + 0x138C /* 00003BF2 */]
label00002868:
00002868 4EBA 44D8 jsr [PC + 0x44D8 /* 00006D42 */]
0000286C 4A2D EA4C tst.b [A5 - 0x15B4]
00002870 6700 0036 beq +0x38 /* 000028A8 */
00002874 2B6D ED0C ED04 move.l [A5 - 0x12FC], [A5 - 0x12F4]
0000287A 2B6D ED10 ED08 move.l [A5 - 0x12F8], [A5 - 0x12F0]
00002880 486D ED04 pea.l [A5 - 0x12FC]
00002884 3E2D ED06 move.w D7, [A5 - 0x12FA]
00002888 4447 neg.w D7
0000288A 3F07 move.w -[A7], D7
0000288C 3E2D ED04 move.w D7, [A5 - 0x12FC]
00002890 4447 neg.w D7
00002892 3F07 move.w -[A7], D7
00002894 A8A8 syscall OffsetRect
00002896 3B7C 0001 ED1C move.w [A5 - 0x12E4], 0x1
0000289C 2F2D ED2C move.l -[A7], [A5 - 0x12D4]
000028A0 4267 clr.w -[A7]
000028A2 A95D syscall HiliteControl
000028A4 4EFA 0006 jmp [PC + 0x6 /* 000028AC */]
label000028A8:
000028A8 426D ED1C clr.w [A5 - 0x12E4]
label000028AC:
000028AC 486D ED0C pea.l [A5 - 0x12F4]
000028B0 A928 syscall InvalRect
000028B2 4EFA 0094 jmp [PC + 0x94 /* 00002948 */]
000028B6 3B7C 0002 ED1E move.w [A5 - 0x12E2], 0x2
000028BC 0C6D 0002 ED1C cmpi.w [A5 - 0x12E4], 0x2
000028C2 57C7 seq D7
000028C4 4407 neg.b D7
000028C6 CE2D EA02 and.b D7, [A5 - 0x15FE]
000028CA 6700 0016 beq +0x18 /* 000028E2 */
000028CE 558F subq.l A7, 2
000028D0 3F3C 0095 move.w -[A7], 0x95
000028D4 42A7 clr.l -[A7]
000028D6 A985 syscall Alert
000028D8 3E1F move.w D7, [A7]+
000028DA 3B47 ED1E move.w [A5 - 0x12E2], D7
000028DE 4278 0A9A clr.w [0x00000A9A /* ACount */]
label000028E2:
000028E2 4EFA 001A jmp [PC + 0x1A /* 000028FE */]
label000028E6:
000028E6 0C6D 0001 ED1E cmpi.w [A5 - 0x12E2], 0x1
000028EC 6600 0006 bne +0x8 /* 000028F4 */
000028F0 4EBA F018 jsr [PC - 0xFE8 /* 0000190A */]
label000028F4:
000028F4 1B7C 0001 F9AC move.b [A5 - 0x654], 0x1
000028FA 4EFA 0016 jmp [PC + 0x16 /* 00002912 */]
label000028FE:
000028FE 3E2D ED1E move.w D7, [A5 - 0x12E2]
00002902 0C47 0001 cmpi.w D7, 0x1
00002906 6700 FFDE beq -0x20 /* 000028E6 */
0000290A 0C47 0002 cmpi.w D7, 0x2
0000290E 6700 FFD6 beq -0x28 /* 000028E6 */
label00002912:
00002912 4EFA 0034 jmp [PC + 0x34 /* 00002948 */]
label00002916:
00002916 3E2D F9A6 move.w D7, [A5 - 0x65A]
0000291A 0C47 0001 cmpi.w D7, 0x1
0000291E 6D00 0028 blt +0x2A /* 00002948 */
00002922 0C47 0008 cmpi.w D7, 0x8
00002926 6E00 0020 bgt +0x22 /* 00002948 */
0000292A 0447 0001 subi.w D7, 0x1
0000292E DE47 add.w D7, D7
00002930 3E3B 7006 move.w D7, [PC + D7.w + 0x6]
00002934 4EFB 7002 jmp [PC + D7.w + 0x2]
00002938 FEE4 FEEC .extension 0xEE4 <<F/2-3/7>> // unimplemented
0000293C FEF4 FF0E .extension 0xEF4 <<F/2-3/7>> // unimplemented
00002940 0010 FF20 ori.b [A0], 0x20 /* ' ' */
00002944 0010 FF7E ori.b [A0], 0x7E /* '~' */
label00002948:
00002948 4EFA 01B6 jmp [PC + 0x1B6 /* 00002B00 */]
label0000294C:
0000294C 558F subq.l A7, 2
0000294E 3E2D F9A6 move.w D7, [A5 - 0x65A]
00002952 5347 subq.w D7, 1
00002954 3F07 move.w -[A7], D7
00002956 A9C2 syscall SysEdit
00002958 1E1F move.b D7, [A7]+
0000295A 6600 005E bne +0x60 /* 000029BA */
0000295E 0C6D 0005 F9A6 cmpi.w [A5 - 0x65A], 0x5
00002964 6600 0054 bne +0x56 /* 000029BA */
00002968 598F subq.l A7, 4
0000296A 2F2D FCEA move.l -[A7], [A5 - 0x316]
0000296E 2F3A 019E move.l -[A7], [PC + 0x19E /* 00002B0E, value 0x50494354 'PICT' */]
00002972 486D ED24 pea.l [A5 - 0x12DC]
00002976 A9FD syscall GetScrap
00002978 2E1F move.l D7, [A7]+
0000297A 2B47 ED28 move.l [A5 - 0x12D8], D7
0000297E 0CAD 0000 0000 ED28 cmpi.l [A5 - 0x12D8], 0x0
00002986 6E00 001A bgt +0x1C /* 000029A2 */
0000298A 558F subq.l A7, 2
0000298C 3F3C 0081 move.w -[A7], 0x81
00002990 42A7 clr.l -[A7]
00002992 A987 syscall NoteAlert
00002994 3E1F move.w D7, [A7]+
00002996 3B47 ED1E move.w [A5 - 0x12E2], D7
0000299A 4278 0A9A clr.w [0x00000A9A /* ACount */]
0000299E 4EFA 001A jmp [PC + 0x1A /* 000029BA */]
label000029A2:
000029A2 4EBA F4E4 jsr [PC - 0xB1C /* 00001E88 */]
000029A6 486D ED0C pea.l [A5 - 0x12F4]
000029AA A928 syscall InvalRect
000029AC 3B7C 0001 ED1C move.w [A5 - 0x12E4], 0x1
000029B2 2F2D ED2C move.l -[A7], [A5 - 0x12D4]
000029B6 4267 clr.w -[A7]
000029B8 A95D syscall HiliteControl
label000029BA:
000029BA 4EFA 0144 jmp [PC + 0x144 /* 00002B00 */]
label000029BE:
000029BE 4EFA 0058 jmp [PC + 0x58 /* 00002A18 */]
000029C2 1F3C 0001 move.b -[A7], 0x1
000029C6 4EBA 27DC jsr [PC + 0x27DC /* 000051A4 */]
000029CA 4EFA 0078 jmp [PC + 0x78 /* 00002A44 */]
000029CE 1F3C 0004 move.b -[A7], 0x4
000029D2 4EBA 27D0 jsr [PC + 0x27D0 /* 000051A4 */]
000029D6 4EFA 006C jmp [PC + 0x6C /* 00002A44 */]
000029DA 2F2D F9B6 move.l -[A7], [A5 - 0x64A]
000029DE A91F syscall SelectWindow
000029E0 4EFA 0062 jmp [PC + 0x62 /* 00002A44 */]
000029E4 4A2D EA28 tst.b [A5 - 0x15D8]
000029E8 6700 000A beq +0xC /* 000029F4 */
000029EC 422D EA28 clr.b [A5 - 0x15D8]
000029F0 4EFA 0008 jmp [PC + 0x8 /* 000029FA */]
label000029F4:
000029F4 1B7C 0001 EA28 move.b [A5 - 0x15D8], 0x1
label000029FA:
000029FA 2F2D F99A move.l -[A7], [A5 - 0x666]
000029FE 3F2D F9A6 move.w -[A7], [A5 - 0x65A]
00002A02 1F2D EA28 move.b -[A7], [A5 - 0x15D8]
00002A06 A945 syscall CheckItem
00002A08 4EFA 003A jmp [PC + 0x3A /* 00002A44 */]
00002A0C 1F3C 0002 move.b -[A7], 0x2
00002A10 4EBA 2792 jsr [PC + 0x2792 /* 000051A4 */]
00002A14 4EFA 002E jmp [PC + 0x2E /* 00002A44 */]
label00002A18:
00002A18 3E2D F9A6 move.w D7, [A5 - 0x65A]
00002A1C 0C47 0001 cmpi.w D7, 0x1
00002A20 6D00 0022 blt +0x24 /* 00002A44 */
00002A24 0C47 0005 cmpi.w D7, 0x5
00002A28 6E00 001A bgt +0x1C /* 00002A44 */
00002A2C 0447 0001 subi.w D7, 0x1
00002A30 DE47 add.w D7, D7
00002A32 3E3B 7006 move.w D7, [PC + D7.w + 0x6]
00002A36 4EFB 7002 jmp [PC + D7.w + 0x2]
00002A3A FF88 .invalid <<F/6/7>>
00002A3C FF94 .invalid <<F/6/7>>
00002A3E FFA0 .invalid <<F/6/7>>
00002A40 FFAA .invalid <<F/6/7>>
00002A42 FFD2 .invalid <<F/7/7>>
label00002A44:
00002A44 4EFA 00BA jmp [PC + 0xBA /* 00002B00 */]
label00002A48:
00002A48 4EFA 002A jmp [PC + 0x2A /* 00002A74 */]
label00002A4C:
00002A4C 2F2D F9BA move.l -[A7], [A5 - 0x646]
00002A50 A91F syscall SelectWindow
00002A52 4EFA 0044 jmp [PC + 0x44 /* 00002A98 */]
label00002A56:
00002A56 2F2D F9BE move.l -[A7], [A5 - 0x642]
00002A5A A91F syscall SelectWindow
00002A5C 4EFA 003A jmp [PC + 0x3A /* 00002A98 */]
label00002A60:
00002A60 2F2D F9B6 move.l -[A7], [A5 - 0x64A]
00002A64 A91F syscall SelectWindow
00002A66 4EFA 0030 jmp [PC + 0x30 /* 00002A98 */]
label00002A6A:
00002A6A 2F2D F9B2 move.l -[A7], [A5 - 0x64E]
00002A6E A91F syscall SelectWindow
00002A70 4EFA 0026 jmp [PC + 0x26 /* 00002A98 */]
label00002A74:
00002A74 3E2D F9A6 move.w D7, [A5 - 0x65A]
00002A78 0C47 0001 cmpi.w D7, 0x1
00002A7C 6700 FFCE beq -0x30 /* 00002A4C */
00002A80 0C47 0002 cmpi.w D7, 0x2
00002A84 6700 FFD0 beq -0x2E /* 00002A56 */
00002A88 0C47 0003 cmpi.w D7, 0x3
00002A8C 6700 FFD2 beq -0x2C /* 00002A60 */
00002A90 0C47 0004 cmpi.w D7, 0x4
00002A94 6700 FFD4 beq -0x2A /* 00002A6A */
label00002A98:
00002A98 4EFA 0066 jmp [PC + 0x66 /* 00002B00 */]
label00002A9C:
00002A9C 4EFA 0016 jmp [PC + 0x16 /* 00002AB4 */]
label00002AA0:
00002AA0 1F3C 0005 move.b -[A7], 0x5
00002AA4 4EBA 26FE jsr [PC + 0x26FE /* 000051A4 */]
00002AA8 4EFA 001E jmp [PC + 0x1E /* 00002AC8 */]
label00002AAC:
00002AAC 4EBA FBEA jsr [PC - 0x416 /* 00002698 */]
00002AB0 4EFA 0016 jmp [PC + 0x16 /* 00002AC8 */]
label00002AB4:
00002AB4 3E2D F9A6 move.w D7, [A5 - 0x65A]
00002AB8 0C47 0001 cmpi.w D7, 0x1
00002ABC 6700 FFE2 beq -0x1C /* 00002AA0 */
00002AC0 0C47 0002 cmpi.w D7, 0x2
00002AC4 6700 FFE6 beq -0x18 /* 00002AAC */
label00002AC8:
00002AC8 4EFA 0036 jmp [PC + 0x36 /* 00002B00 */]
label00002ACC:
00002ACC 3E2D F9A8 move.w D7, [A5 - 0x658]
00002AD0 0C47 0001 cmpi.w D7, 0x1
00002AD4 6700 FCF8 beq -0x306 /* 000027CE */
00002AD8 0C47 0100 cmpi.w D7, 0x100
00002ADC 6700 FD3A beq -0x2C4 /* 00002818 */
00002AE0 0C47 0101 cmpi.w D7, 0x101
00002AE4 6700 FE66 beq -0x198 /* 0000294C */
00002AE8 0C47 0102 cmpi.w D7, 0x102
00002AEC 6700 FED0 beq -0x12E /* 000029BE */
00002AF0 0C47 0103 cmpi.w D7, 0x103
00002AF4 6700 FF52 beq -0xAC /* 00002A48 */
00002AF8 0C47 0104 cmpi.w D7, 0x104
00002AFC 6700 FF9E beq -0x60 /* 00002A9C */
label00002B00:
00002B00 4267 clr.w -[A7]
00002B02 A938 syscall HiliteMenu
00002B04 4CDF 0080 movem.l D7, [A7]+
00002B08 4E5E unlink A6
00002B0A 2E9F move.l [A7], [A7]+
00002B0C 4E75 rts
00002B0E 5049 addq.w A1, 8
00002B10 4354 chk.w D1, [A4]
fn00002B12:
00002B12 4E56 FFF6 link A6, -0x000A
00002B16 48E7 0308 movem.l -[A7], D6,D7,A4
00002B1A 558F subq.l A7, 2
00002B1C 2F2E 000C move.l -[A7], [A6 + 0xC]
00002B20 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002B24 42A7 clr.l -[A7]
00002B26 A968 syscall TrackControl
00002B28 3E1F move.w D7, [A7]+
00002B2A 3D47 FFF6 move.w [A6 - 0xA], D7
00002B2E 0C6E 0000 FFF6 cmpi.w [A6 - 0xA], 0x0
00002B34 6F00 01A6 ble +0x1A8 /* 00002CDC */
00002B38 2E2E 000C move.l D7, [A6 + 0xC]
00002B3C BEAD EEFC cmp.l D7, [A5 - 0x1104]
00002B40 57C7 seq D7
00002B42 4407 neg.b D7
00002B44 0C6D 0000 EDBA cmpi.w [A5 - 0x1246], 0x0
00002B4A 5EC6 sgt D6
00002B4C 4406 neg.b D6
00002B4E CC07 and.b D6, D7
00002B50 6700 0128 beq +0x12A /* 00002C7A */
00002B54 4EFA 00F8 jmp [PC + 0xF8 /* 00002C4E */]
label00002B58:
00002B58 0C6D 0004 EDBA cmpi.w [A5 - 0x1246], 0x4
00002B5E 6C00 0008 bge +0xA /* 00002B68 */
00002B62 3B7C 0001 EDCC move.w [A5 - 0x1234], 0x1
label00002B68:
00002B68 4EBA 3028 jsr [PC + 0x3028 /* 00005B92 */]
00002B6C 4EFA 010C jmp [PC + 0x10C /* 00002C7A */]
label00002B70:
00002B70 0C6D 0004 EDBA cmpi.w [A5 - 0x1246], 0x4
00002B76 6C00 000C bge +0xE /* 00002B84 */
00002B7A 3E2D F98C move.w D7, [A5 - 0x674]
00002B7E 5247 addq.w D7, 1
00002B80 3B47 EDCE move.w [A5 - 0x1232], D7
label00002B84:
00002B84 4EBA 3160 jsr [PC + 0x3160 /* 00005CE6 */]
00002B88 4EFA 00F0 jmp [PC + 0xF0 /* 00002C7A */]
label00002B8C:
00002B8C 558F subq.l A7, 2
00002B8E 2F2D EEFC move.l -[A7], [A5 - 0x1104]
00002B92 A960 syscall GetControlValue/GetCtlValue
00002B94 3E1F move.w D7, [A7]+
00002B96 3D47 FFFA move.w [A6 - 0x6], D7
00002B9A 4EFA 0096 jmp [PC + 0x96 /* 00002C32 */]
label00002B9E:
00002B9E 3B7C 0001 EDCC move.w [A5 - 0x1234], 0x1
00002BA4 4EBA 2FEC jsr [PC + 0x2FEC /* 00005B92 */]
00002BA8 4EFA 00A0 jmp [PC + 0xA0 /* 00002C4A */]
label00002BAC:
00002BAC 3E2D F98C move.w D7, [A5 - 0x674]
00002BB0 5247 addq.w D7, 1
00002BB2 3B47 EDCE move.w [A5 - 0x1232], D7
00002BB6 4EBA 312E jsr [PC + 0x312E /* 00005CE6 */]
00002BBA 4EFA 008E jmp [PC + 0x8E /* 00002C4A */]
label00002BBE:
00002BBE 3E2E FFFA move.w D7, [A6 - 0x6]
00002BC2 CFED EDBA muls.w D7, [A5 - 0x1246]
00002BC6 48C7 ext.l D7
00002BC8 8FFC 000F divs.w D7, 0xF
00002BCC 3D47 FFFA move.w [A6 - 0x6], D7
00002BD0 3D7C 0001 FFF8 move.w [A6 - 0x8], 0x1
label00002BD6:
00002BD6 526E FFF8 addq.w [A6 - 0x8], 1
00002BDA 3E2E FFF8 move.w D7, [A6 - 0x8]
00002BDE 5347 subq.w D7, 1
00002BE0 DE47 add.w D7, D7
00002BE2 49ED EDD0 lea.l A4, [A5 - 0x1230]
00002BE6 3C34 7000 move.w D6, [A4 + D7.w]
00002BEA 5346 subq.w D6, 1
00002BEC CDFC 0012 muls.w D6, 0x12
00002BF0 49ED EF00 lea.l A4, [A5 - 0x1100]
00002BF4 0C74 0001 6010 cmpi.w [A4 + D6.w + 0x10], 0x1
00002BFA 6600 000C bne +0xE /* 00002C08 */
00002BFE 536E FFFA subq.w [A6 - 0x6], 1
00002C02 3B6E FFF8 EDCC move.w [A5 - 0x1234], [A6 - 0x8]
label00002C08:
00002C08 3E2E FFF8 move.w D7, [A6 - 0x8]
00002C0C BE6D F98C cmp.w D7, [A5 - 0x674]
00002C10 57C7 seq D7
00002C12 4407 neg.b D7
00002C14 0C6E 0001 FFFA cmpi.w [A6 - 0x6], 0x1
00002C1A 5DC6 slt D6
00002C1C 4406 neg.b D6
00002C1E 8C07 or.b D6, D7
00002C20 6700 FFB4 beq -0x4A /* 00002BD6 */
00002C24 3B6D EDCC EDCE move.w [A5 - 0x1232], [A5 - 0x1234]
00002C2A 4EBA 2F66 jsr [PC + 0x2F66 /* 00005B92 */]
00002C2E 4EFA 001A jmp [PC + 0x1A /* 00002C4A */]
label00002C32:
00002C32 3E2E FFFA move.w D7, [A6 - 0x6]
00002C36 0C47 0000 cmpi.w D7, 0x0
00002C3A 6700 FF62 beq -0x9C /* 00002B9E */
00002C3E 0C47 000F cmpi.w D7, 0xF
00002C42 6700 FF68 beq -0x96 /* 00002BAC */
00002C46 4EFA FF76 jmp [PC - 0x8A /* 00002BBE */]
label00002C4A:
00002C4A 4EFA 002E jmp [PC + 0x2E /* 00002C7A */]
label00002C4E:
00002C4E 3E2E FFF6 move.w D7, [A6 - 0xA]
00002C52 0C47 0014 cmpi.w D7, 0x14
00002C56 6700 FF18 beq -0xE6 /* 00002B70 */
00002C5A 0C47 0015 cmpi.w D7, 0x15
00002C5E 6700 FEF8 beq -0x106 /* 00002B58 */
00002C62 0C47 0016 cmpi.w D7, 0x16
00002C66 6700 FF08 beq -0xF6 /* 00002B70 */
00002C6A 0C47 0017 cmpi.w D7, 0x17
00002C6E 6700 FEE8 beq -0x116 /* 00002B58 */
00002C72 0C47 0081 cmpi.w D7, 0x81
00002C76 6700 FF14 beq -0xEA /* 00002B8C */
label00002C7A:
00002C7A 2E2E 000C move.l D7, [A6 + 0xC]
00002C7E BEAD ED2C cmp.l D7, [A5 - 0x12D4]
00002C82 6600 001E bne +0x20 /* 00002CA2 */
00002C86 4EBA E7E0 jsr [PC - 0x1820 /* 00001468 */]
00002C8A 0C6D 0001 ED1C cmpi.w [A5 - 0x12E4], 0x1
00002C90 6600 0010 bne +0x12 /* 00002CA2 */
00002C94 4EBA DC88 jsr [PC - 0x2378 /* 0000091E */]
00002C98 1B7C 0001 EA02 move.b [A5 - 0x15FE], 0x1
00002C9E 4EBA E816 jsr [PC - 0x17EA /* 000014B6 */]
label00002CA2:
00002CA2 2E2E 000C move.l D7, [A6 + 0xC]
00002CA6 BEAD ED34 cmp.l D7, [A5 - 0x12CC]
00002CAA 6600 000A bne +0xC /* 00002CB6 */
00002CAE 1F3C 0003 move.b -[A7], 0x3
00002CB2 4EBA 24F0 jsr [PC + 0x24F0 /* 000051A4 */]
label00002CB6:
00002CB6 2E2E 000C move.l D7, [A6 + 0xC]
00002CBA BEAD EA44 cmp.l D7, [A5 - 0x15BC]
00002CBE 6600 0008 bne +0xA /* 00002CC8 */
00002CC2 1B7C 0001 EA08 move.b [A5 - 0x15F8], 0x1
label00002CC8:
00002CC8 2E2E 000C move.l D7, [A6 + 0xC]
00002CCC BEAD ED30 cmp.l D7, [A5 - 0x12D0]
00002CD0 6600 000A bne +0xC /* 00002CDC */
00002CD4 1F3C 0004 move.b -[A7], 0x4
00002CD8 4EBA 24CA jsr [PC + 0x24CA /* 000051A4 */]
label00002CDC:
00002CDC 4CDF 10C0 movem.l D6,D7,A4, [A7]+
00002CE0 4E5E unlink A6
00002CE2 205F movea.l A0, [A7]+
00002CE4 508F addq.l A7, 8
00002CE6 4ED0 jmp [A0]
fn00002CE8:
00002CE8 4E56 FFF4 link A6, -0x000C
00002CEC 48E7 0308 movem.l -[A7], D6,D7,A4
00002CF0 558F subq.l A7, 2
00002CF2 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002CF6 486D ECFC pea.l [A5 - 0x1304]
00002CFA A8AD syscall PtInRect
00002CFC 1E1F move.b D7, [A7]+
00002CFE 6700 0252 beq +0x254 /* 00002F52 */
00002D02 2B6E 0008 ED40 move.l [A5 - 0x12C0], [A6 + 0x8]
00002D08 486D FFD0 pea.l [A5 - 0x30]
00002D0C A89D syscall PenPat
00002D0E 3F3C 000A move.w -[A7], 0xA /* '\n' */
00002D12 A89C syscall PenMode
00002D14 486D ED0C pea.l [A5 - 0x12F4]
00002D18 A8A1 syscall FrameRect
00002D1A 486D ECFC pea.l [A5 - 0x1304]
00002D1E A8A2 syscall PaintRect
00002D20 486D ECFC pea.l [A5 - 0x1304]
00002D24 A928 syscall InvalRect
00002D26 2B6D ED0C FDF0 move.l [A5 - 0x210], [A5 - 0x12F4]
00002D2C 2B6D ED10 FDF4 move.l [A5 - 0x20C], [A5 - 0x12F0]
00002D32 2D6D ECFC FFF8 move.l [A6 - 0x8], [A5 - 0x1304]
00002D38 2D6D ED00 FFFC move.l [A6 - 0x4], [A5 - 0x1300]
label00002D3E:
00002D3E 486D ED4E pea.l [A5 - 0x12B2]
00002D42 A972 syscall GetMouse
00002D44 3E2D ED50 move.w D7, [A5 - 0x12B0]
00002D48 9E6D ED42 sub.w D7, [A5 - 0x12BE]
00002D4C 3B47 ED4C move.w [A5 - 0x12B4], D7
00002D50 3E2D ED4E move.w D7, [A5 - 0x12B2]
00002D54 9E6D ED40 sub.w D7, [A5 - 0x12C0]
00002D58 3B47 ED4A move.w [A5 - 0x12B6], D7
00002D5C 4A6D ED4C tst.w [A5 - 0x12B4]
00002D60 56C7 sne D7
00002D62 4407 neg.b D7
00002D64 4A6D ED4A tst.w [A5 - 0x12B6]
00002D68 56C6 sne D6
00002D6A 4406 neg.b D6
00002D6C 8C07 or.b D6, D7
00002D6E 6700 00BA beq +0xBC /* 00002E2A */
00002D72 486D FDF0 pea.l [A5 - 0x210]
00002D76 A8A1 syscall FrameRect
00002D78 486E FFF8 pea.l [A6 - 0x8]
00002D7C A8A2 syscall PaintRect
00002D7E 3E2D FDF6 move.w D7, [A5 - 0x20A]
00002D82 DE6D ED4C add.w D7, [A5 - 0x12B4]
00002D86 3B47 FDF6 move.w [A5 - 0x20A], D7
00002D8A 3E2D FDF4 move.w D7, [A5 - 0x20C]
00002D8E DE6D ED4A add.w D7, [A5 - 0x12B6]
00002D92 3B47 FDF4 move.w [A5 - 0x20C], D7
00002D96 3E2D FDF6 move.w D7, [A5 - 0x20A]
00002D9A BE6D ED1A cmp.w D7, [A5 - 0x12E6]
00002D9E 6F00 000C ble +0xE /* 00002DAC */
00002DA2 3B6D ED1A FDF6 move.w [A5 - 0x20A], [A5 - 0x12E6]
00002DA8 4EFA 0020 jmp [PC + 0x20 /* 00002DCA */]
label00002DAC:
00002DAC 3E2D ED0E move.w D7, [A5 - 0x12F2]
00002DB0 0647 0032 addi.w D7, 0x32 /* '2' */
00002DB4 3C2D FDF6 move.w D6, [A5 - 0x20A]
00002DB8 BC47 cmp.w D6, D7
00002DBA 6C00 000E bge +0x10 /* 00002DCA */
00002DBE 3E2D ED0E move.w D7, [A5 - 0x12F2]
00002DC2 0647 0032 addi.w D7, 0x32 /* '2' */
00002DC6 3B47 FDF6 move.w [A5 - 0x20A], D7
label00002DCA:
00002DCA 3E2D FDF4 move.w D7, [A5 - 0x20C]
00002DCE BE6D ED18 cmp.w D7, [A5 - 0x12E8]
00002DD2 6F00 000C ble +0xE /* 00002DE0 */
00002DD6 3B6D ED18 FDF4 move.w [A5 - 0x20C], [A5 - 0x12E8]
00002DDC 4EFA 0020 jmp [PC + 0x20 /* 00002DFE */]
label00002DE0:
00002DE0 3E2D ED0C move.w D7, [A5 - 0x12F4]
00002DE4 0647 0032 addi.w D7, 0x32 /* '2' */
00002DE8 3C2D FDF4 move.w D6, [A5 - 0x20C]
00002DEC BC47 cmp.w D6, D7
00002DEE 6C00 000E bge +0x10 /* 00002DFE */
00002DF2 3E2D ED0C move.w D7, [A5 - 0x12F4]
00002DF6 0647 0032 addi.w D7, 0x32 /* '2' */
00002DFA 3B47 FDF4 move.w [A5 - 0x20C], D7
label00002DFE:
00002DFE 486E FFF8 pea.l [A6 - 0x8]
00002E02 3E2D FDF6 move.w D7, [A5 - 0x20A]
00002E06 9E6E FFFA sub.w D7, [A6 - 0x6]
00002E0A 3F07 move.w -[A7], D7
00002E0C 3E2D FDF4 move.w D7, [A5 - 0x20C]
00002E10 9E6E FFF8 sub.w D7, [A6 - 0x8]
00002E14 3F07 move.w -[A7], D7
00002E16 A8A8 syscall OffsetRect
00002E18 486D FDF0 pea.l [A5 - 0x210]
00002E1C A8A1 syscall FrameRect
00002E1E 486E FFF8 pea.l [A6 - 0x8]
00002E22 A8A2 syscall PaintRect
00002E24 2B6D ED4E ED40 move.l [A5 - 0x12C0], [A5 - 0x12B2]
label00002E2A:
00002E2A 558F subq.l A7, 2
00002E2C A973 syscall StillDown
00002E2E 1E1F move.b D7, [A7]+
00002E30 6600 FF0C bne -0xF2 /* 00002D3E */
00002E34 486D FDF0 pea.l [A5 - 0x210]
00002E38 A8A1 syscall FrameRect
00002E3A 486E FFF8 pea.l [A6 - 0x8]
00002E3E A8A2 syscall PaintRect
00002E40 A89E syscall PenNormal
00002E42 2B6E FFF8 ECFC move.l [A5 - 0x1304], [A6 - 0x8]
00002E48 2B6E FFFC ED00 move.l [A5 - 0x1300], [A6 - 0x4]
00002E4E 486D ECFC pea.l [A5 - 0x1304]
00002E52 A928 syscall InvalRect
00002E54 2B6D ED10 ED4A move.l [A5 - 0x12B6], [A5 - 0x12F0]
00002E5A 3E2D FDF6 move.w D7, [A5 - 0x20A]
00002E5E BE6D ED12 cmp.w D7, [A5 - 0x12EE]
00002E62 6F00 0008 ble +0xA /* 00002E6C */
00002E66 3B6D FDF6 ED4C move.w [A5 - 0x12B4], [A5 - 0x20A]
label00002E6C:
00002E6C 3E2D FDF4 move.w D7, [A5 - 0x20C]
00002E70 BE6D ED10 cmp.w D7, [A5 - 0x12F0]
00002E74 6F00 0008 ble +0xA /* 00002E7E */
00002E78 3B6D FDF4 ED4A move.w [A5 - 0x12B6], [A5 - 0x20C]
label00002E7E:
00002E7E 3E2D FDF6 move.w D7, [A5 - 0x20A]
00002E82 BE6D ED12 cmp.w D7, [A5 - 0x12EE]
00002E86 6C00 0024 bge +0x26 /* 00002EAC */
00002E8A 486E FFF8 pea.l [A6 - 0x8]
00002E8E 3E2D FDF6 move.w D7, [A5 - 0x20A]
00002E92 5347 subq.w D7, 1
00002E94 3F07 move.w -[A7], D7
00002E96 3F2D ED0C move.w -[A7], [A5 - 0x12F4]
00002E9A 3E2D ED12 move.w D7, [A5 - 0x12EE]
00002E9E 5247 addq.w D7, 1
00002EA0 3F07 move.w -[A7], D7
00002EA2 3F2D ED4A move.w -[A7], [A5 - 0x12B6]
00002EA6 A8A7 syscall SetRect
00002EA8 4EFA 0020 jmp [PC + 0x20 /* 00002ECA */]
label00002EAC:
00002EAC 486E FFF8 pea.l [A6 - 0x8]
00002EB0 3E2D ED12 move.w D7, [A5 - 0x12EE]
00002EB4 5347 subq.w D7, 1
00002EB6 3F07 move.w -[A7], D7
00002EB8 3F2D ED0C move.w -[A7], [A5 - 0x12F4]
00002EBC 3E2D FDF6 move.w D7, [A5 - 0x20A]
00002EC0 5247 addq.w D7, 1
00002EC2 3F07 move.w -[A7], D7
00002EC4 3F2D ED4A move.w -[A7], [A5 - 0x12B6]
00002EC8 A8A7 syscall SetRect
label00002ECA:
00002ECA 486E FFF8 pea.l [A6 - 0x8]
00002ECE A928 syscall InvalRect
00002ED0 3E2D FDF4 move.w D7, [A5 - 0x20C]
00002ED4 BE6D ED10 cmp.w D7, [A5 - 0x12F0]
00002ED8 6C00 0024 bge +0x26 /* 00002EFE */
00002EDC 486E FFF8 pea.l [A6 - 0x8]
00002EE0 3F2D ED0E move.w -[A7], [A5 - 0x12F2]
00002EE4 3E2D FDF4 move.w D7, [A5 - 0x20C]
00002EE8 5347 subq.w D7, 1
00002EEA 3F07 move.w -[A7], D7
00002EEC 3F2D ED4C move.w -[A7], [A5 - 0x12B4]
00002EF0 3E2D ED10 move.w D7, [A5 - 0x12F0]
00002EF4 5247 addq.w D7, 1
00002EF6 3F07 move.w -[A7], D7
00002EF8 A8A7 syscall SetRect
00002EFA 4EFA 0020 jmp [PC + 0x20 /* 00002F1C */]
label00002EFE:
00002EFE 486E FFF8 pea.l [A6 - 0x8]
00002F02 3F2D ED0E move.w -[A7], [A5 - 0x12F2]
00002F06 3E2D ED10 move.w D7, [A5 - 0x12F0]
00002F0A 5347 subq.w D7, 1
00002F0C 3F07 move.w -[A7], D7
00002F0E 3F2D ED4C move.w -[A7], [A5 - 0x12B4]
00002F12 3E2D FDF4 move.w D7, [A5 - 0x20C]
00002F16 5247 addq.w D7, 1
00002F18 3F07 move.w -[A7], D7
00002F1A A8A7 syscall SetRect
label00002F1C:
00002F1C 486E FFF8 pea.l [A6 - 0x8]
00002F20 A928 syscall InvalRect
00002F22 2B6D FDF0 ED0C move.l [A5 - 0x12F4], [A5 - 0x210]
00002F28 2B6D FDF4 ED10 move.l [A5 - 0x12F0], [A5 - 0x20C]
00002F2E 3E2D ED06 move.w D7, [A5 - 0x12FA]
00002F32 DE6D ED12 add.w D7, [A5 - 0x12EE]
00002F36 9E6D ED0E sub.w D7, [A5 - 0x12F2]
00002F3A 3B47 ED0A move.w [A5 - 0x12F6], D7
00002F3E 3E2D ED04 move.w D7, [A5 - 0x12FC]
00002F42 DE6D ED10 add.w D7, [A5 - 0x12F0]
00002F46 9E6D ED0C sub.w D7, [A5 - 0x12F4]
00002F4A 3B47 ED08 move.w [A5 - 0x12F8], D7
00002F4E 4EFA 00D4 jmp [PC + 0xD4 /* 00003024 */]
label00002F52:
00002F52 558F subq.l A7, 2
00002F54 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002F58 486D ED0C pea.l [A5 - 0x12F4]
00002F5C A8AD syscall PtInRect
00002F5E 1E1F move.b D7, [A7]+
00002F60 0C6D 0001 ED1C cmpi.w [A5 - 0x12E4], 0x1
00002F66 57C6 seq D6
00002F68 4406 neg.b D6
00002F6A CC07 and.b D6, D7
00002F6C 6700 00B6 beq +0xB8 /* 00003024 */
00002F70 598F subq.l A7, 4
00002F72 A8D8 syscall NewRgn
00002F74 2E1F move.l D7, [A7]+
00002F76 2D47 FFF4 move.l [A6 - 0xC], D7
00002F7A 2B6E 0008 ED40 move.l [A5 - 0x12C0], [A6 + 0x8]
00002F80 2D6D ED0C FFF8 move.l [A6 - 0x8], [A5 - 0x12F4]
00002F86 2D6D ED10 FFFC move.l [A6 - 0x4], [A5 - 0x12F0]
00002F8C 486E FFF8 pea.l [A6 - 0x8]
00002F90 3F3C 0001 move.w -[A7], 0x1
00002F94 3F3C 0001 move.w -[A7], 0x1
00002F98 A8A9 syscall InsetRect
00002F9A 486E FFF8 pea.l [A6 - 0x8]
00002F9E A87B syscall ClipRect
label00002FA0:
00002FA0 486D ED4E pea.l [A5 - 0x12B2]
00002FA4 A972 syscall GetMouse
00002FA6 3E2D ED50 move.w D7, [A5 - 0x12B0]
00002FAA 9E6D ED42 sub.w D7, [A5 - 0x12BE]
00002FAE 3B47 ED4C move.w [A5 - 0x12B4], D7
00002FB2 3E2D ED4E move.w D7, [A5 - 0x12B2]
00002FB6 9E6D ED40 sub.w D7, [A5 - 0x12C0]
00002FBA 3B47 ED4A move.w [A5 - 0x12B6], D7
00002FBE 4A6D ED4C tst.w [A5 - 0x12B4]
00002FC2 56C7 sne D7
00002FC4 4407 neg.b D7
00002FC6 4A6D ED4A tst.w [A5 - 0x12B6]
00002FCA 56C6 sne D6
00002FCC 4406 neg.b D6
00002FCE 8C07 or.b D6, D7
00002FD0 6700 0038 beq +0x3A /* 0000300A */
00002FD4 486D ED04 pea.l [A5 - 0x12FC]
00002FD8 3E2D ED4C move.w D7, [A5 - 0x12B4]
00002FDC 4447 neg.w D7
00002FDE 3F07 move.w -[A7], D7
00002FE0 3E2D ED4A move.w D7, [A5 - 0x12B6]
00002FE4 4447 neg.w D7
00002FE6 3F07 move.w -[A7], D7
00002FE8 A8A8 syscall OffsetRect
00002FEA 486E FFF8 pea.l [A6 - 0x8]
00002FEE 3F2D ED4C move.w -[A7], [A5 - 0x12B4]
00002FF2 3F2D ED4A move.w -[A7], [A5 - 0x12B6]
00002FF6 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00002FFA A8EF syscall ScrollRect
00002FFC 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00003000 4EBA DA00 jsr [PC - 0x2600 /* 00000A02 */]
00003004 2B6D ED4E ED40 move.l [A5 - 0x12C0], [A5 - 0x12B2]
label0000300A:
0000300A 558F subq.l A7, 2
0000300C A973 syscall StillDown
0000300E 1E1F move.b D7, [A7]+
00003010 6600 FF8E bne -0x70 /* 00002FA0 */
00003014 286D F9C2 movea.l A4, [A5 - 0x63E]
00003018 486C 0010 pea.l [A4 + 0x10]
0000301C A87B syscall ClipRect
0000301E 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00003022 A8D9 syscall DisposRgn/DisposeRgn
label00003024:
00003024 4CDF 10C0 movem.l D6,D7,A4, [A7]+
00003028 4E5E unlink A6
0000302A 2E9F move.l [A7], [A7]+
0000302C 4E75 rts
fn0000302E:
0000302E 4E56 FFFA link A6, -0x0006
00003032 48E7 0308 movem.l -[A7], D6,D7,A4
00003036 4A2D EA08 tst.b [A5 - 0x15F8]
0000303A 6700 0018 beq +0x1A /* 00003054 */
0000303E 422D EA08 clr.b [A5 - 0x15F8]
00003042 598F subq.l A7, 4
00003044 A975 syscall TickCount
00003046 2E1F move.l D7, [A7]+
00003048 2B47 EA22 move.l [A5 - 0x15DE], D7
0000304C 2B7C 0000 003C EA1E move.l [A5 - 0x15E2], 0x3C /* '<' */
label00003054:
00003054 558F subq.l A7, 2
00003056 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000305A 486D EDBC pea.l [A5 - 0x1244]
0000305E A8AD syscall PtInRect
00003060 1E1F move.b D7, [A7]+
00003062 6700 0024 beq +0x26 /* 00003088 */
00003066 3D6D F98C FFFA move.w [A6 - 0x6], [A5 - 0x674]
0000306C 3D7C 0001 FFFC move.w [A6 - 0x4], 0x1
00003072 3D7C 0002 FFFE move.w [A6 - 0x2], 0x2
00003078 2B6D EDBC FDF0 move.l [A5 - 0x210], [A5 - 0x1244]
0000307E 2B6D EDC0 FDF4 move.l [A5 - 0x20C], [A5 - 0x1240]
00003084 4EFA 0024 jmp [PC + 0x24 /* 000030AA */]
label00003088:
00003088 3D6D EDCC FFFA move.w [A6 - 0x6], [A5 - 0x1234]
0000308E 3D6D EDCE FFFC move.w [A6 - 0x4], [A5 - 0x1232]
00003094 3D7C 0001 FFFE move.w [A6 - 0x2], 0x1
0000309A 286D F9BA movea.l A4, [A5 - 0x646]
0000309E 2B6C 0010 FDF0 move.l [A5 - 0x210], [A4 + 0x10]
000030A4 2B6C 0014 FDF4 move.l [A5 - 0x20C], [A4 + 0x14]
label000030AA:
000030AA 3E2E FFFA move.w D7, [A6 - 0x6]
000030AE 5347 subq.w D7, 1
000030B0 DE47 add.w D7, D7
000030B2 49ED EDD0 lea.l A4, [A5 - 0x1230]
000030B6 3C34 7000 move.w D6, [A4 + D7.w]
000030BA 5346 subq.w D6, 1
000030BC CDFC 0012 muls.w D6, 0x12
000030C0 49ED EF00 lea.l A4, [A5 - 0x1100]
000030C4 3E34 6010 move.w D7, [A4 + D6.w + 0x10]
000030C8 BE6E FFFE cmp.w D7, [A6 - 0x2]
000030CC 6600 00E8 bne +0xEA /* 000031B6 */
000030D0 558F subq.l A7, 2
000030D2 2F2E 0008 move.l -[A7], [A6 + 0x8]
000030D6 3E2E FFFA move.w D7, [A6 - 0x6]
000030DA 5347 subq.w D7, 1
000030DC DE47 add.w D7, D7
000030DE 49ED EDD0 lea.l A4, [A5 - 0x1230]
000030E2 3C34 7000 move.w D6, [A4 + D7.w]
000030E6 5346 subq.w D6, 1
000030E8 CDFC 0012 muls.w D6, 0x12
000030EC 49ED EF00 lea.l A4, [A5 - 0x1100]
000030F0 2F34 6000 move.l -[A7], [A4 + D6.w]
000030F4 A8E8 syscall PtInRgn
000030F6 1E1F move.b D7, [A7]+
000030F8 6700 00BC beq +0xBE /* 000031B6 */
000030FC 3E2E FFFA move.w D7, [A6 - 0x6]
00003100 5347 subq.w D7, 1
00003102 DE47 add.w D7, D7
00003104 49ED EDD0 lea.l A4, [A5 - 0x1230]
00003108 3C34 7000 move.w D6, [A4 + D7.w]
0000310C 5346 subq.w D6, 1
0000310E CDFC 0012 muls.w D6, 0x12
00003112 49ED EF00 lea.l A4, [A5 - 0x1100]
00003116 2F34 6000 move.l -[A7], [A4 + D6.w]
0000311A 2F2D FDE4 move.l -[A7], [A5 - 0x21C]
0000311E A8DC syscall CopyRgn
00003120 3E2D FDF2 move.w D7, [A5 - 0x20E]
00003124 DE6E 000A add.w D7, [A6 + 0xA]
00003128 286D FDE4 movea.l A4, [A5 - 0x21C]
0000312C 2854 movea.l A4, [A4]
0000312E 9E6C 0004 sub.w D7, [A4 + 0x4]
00003132 3B47 ED3A move.w [A5 - 0x12C6], D7
00003136 286D FDE4 movea.l A4, [A5 - 0x21C]
0000313A 2854 movea.l A4, [A4]
0000313C 3E2C 0008 move.w D7, [A4 + 0x8]
00003140 9E6E 000A sub.w D7, [A6 + 0xA]
00003144 3C2D FDF6 move.w D6, [A5 - 0x20A]
00003148 9C47 sub.w D6, D7
0000314A 3B46 ED3E move.w [A5 - 0x12C2], D6
0000314E 3E2D FDF0 move.w D7, [A5 - 0x210]
00003152 DE6E 0008 add.w D7, [A6 + 0x8]
00003156 286D FDE4 movea.l A4, [A5 - 0x21C]
0000315A 2854 movea.l A4, [A4]
0000315C 9E6C 0002 sub.w D7, [A4 + 0x2]
00003160 3B47 ED38 move.w [A5 - 0x12C8], D7
00003164 286D FDE4 movea.l A4, [A5 - 0x21C]
00003168 2854 movea.l A4, [A4]
0000316A 3E2C 0006 move.w D7, [A4 + 0x6]
0000316E 9E6E 0008 sub.w D7, [A6 + 0x8]
00003172 3C2D FDF4 move.w D6, [A5 - 0x20C]
00003176 9C47 sub.w D6, D7
00003178 3B46 ED3C move.w [A5 - 0x12C4], D6
0000317C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003180 3E2E FFFA move.w D7, [A6 - 0x6]
00003184 5347 subq.w D7, 1
00003186 DE47 add.w D7, D7
00003188 49ED EDD0 lea.l A4, [A5 - 0x1230]
0000318C 3C34 7000 move.w D6, [A4 + D7.w]
00003190 5346 subq.w D6, 1
00003192 CDFC 0012 muls.w D6, 0x12
00003196 49ED EF00 lea.l A4, [A5 - 0x1100]
0000319A 4874 6008 pea.l [A4 + D6.w + 0x8]
0000319E 3E2E FFFA move.w D7, [A6 - 0x6]
000031A2 5347 subq.w D7, 1
000031A4 DE47 add.w D7, D7
000031A6 49ED EDD0 lea.l A4, [A5 - 0x1230]
000031AA 3F34 7000 move.w -[A7], [A4 + D7.w]
000031AE 4EBA 3610 jsr [PC + 0x3610 /* 000067C0 */]
000031B2 4EFA 0012 jmp [PC + 0x12 /* 000031C6 */]
label000031B6:
000031B6 536E FFFA subq.w [A6 - 0x6], 1
000031BA 3E2E FFFA move.w D7, [A6 - 0x6]
000031BE BE6E FFFC cmp.w D7, [A6 - 0x4]
000031C2 6C00 FEE6 bge -0x118 /* 000030AA */
label000031C6:
000031C6 4CDF 10C0 movem.l D6,D7,A4, [A7]+
000031CA 4E5E unlink A6
000031CC 2E9F move.l [A7], [A7]+
000031CE 4E75 rts
fn000031D0:
000031D0 4E56 FFF2 link A6, -0x000E
000031D4 48E7 0308 movem.l -[A7], D6,D7,A4
000031D8 486E FFFA pea.l [A6 - 0x6]
000031DC A874 syscall GetPort
000031DE 286D EA48 movea.l A4, [A5 - 0x15B8]
000031E2 2854 movea.l A4, [A4]
000031E4 2D6C 0014 FFF2 move.l [A6 - 0xE], [A4 + 0x14]
000031EA 286D EA48 movea.l A4, [A5 - 0x15B8]
000031EE 2854 movea.l A4, [A4]
000031F0 2D6C 0140 FFF6 move.l [A6 - 0xA], [A4 + 0x140]
000031F6 558F subq.l A7, 2
000031F8 2F2E 0008 move.l -[A7], [A6 + 0x8]
000031FC 486E FFF2 pea.l [A6 - 0xE]
00003200 A8AD syscall PtInRect
00003202 1E1F move.b D7, [A7]+
00003204 6700 00AC beq +0xAE /* 000032B2 */
00003208 3E3C 0001 move.w D7, 0x1
0000320C 3D47 FFFE move.w [A6 - 0x2], D7
00003210 0C47 0026 cmpi.w D7, 0x26 /* '&' */
00003214 6E00 0098 bgt +0x9A /* 000032AE */
label00003218:
00003218 558F subq.l A7, 2
0000321A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000321E 286D EA48 movea.l A4, [A5 - 0x15B8]
00003222 2854 movea.l A4, [A4]
00003224 3C07 move.w D6, D7
00003226 5346 subq.w D6, 1
00003228 E74E lsl D6.w, 3
0000322A 49EC 0014 lea.l A4, [A4 + 0x14]
0000322E 4874 6000 pea.l [A4 + D6.w]
00003232 A8AD syscall PtInRect
00003234 1C1F move.b D6, [A7]+
00003236 6700 0064 beq +0x66 /* 0000329C */
0000323A 286D EA48 movea.l A4, [A5 - 0x15B8]
0000323E 2854 movea.l A4, [A4]
00003240 486C 0144 pea.l [A4 + 0x144]
00003244 4267 clr.w -[A7]
00003246 3F07 move.w -[A7], D7
00003248 4EBA 0D66 jsr [PC + 0xD66 /* 00003FB0 */]
0000324C 286D EA48 movea.l A4, [A5 - 0x15B8]
00003250 2854 movea.l A4, [A4]
00003252 2B6C 0144 ECE4 move.l [A5 - 0x131C], [A4 + 0x144]
00003258 2B6C 0148 ECE8 move.l [A5 - 0x1318], [A4 + 0x148]
0000325E 2C2D EA0A move.l D6, [A5 - 0x15F6]
00003262 BCAD EA12 cmp.l D6, [A5 - 0x15EE]
00003266 6700 0014 beq +0x16 /* 0000327C */
0000326A 2F2D F9BA move.l -[A7], [A5 - 0x646]
0000326E A873 syscall SetPort
00003270 286D EF00 movea.l A4, [A5 - 0x1100]
00003274 2854 movea.l A4, [A4]
00003276 486C 0002 pea.l [A4 + 0x2]
0000327A A928 syscall InvalRect
label0000327C:
0000327C 2F2D F9B6 move.l -[A7], [A5 - 0x64A]
00003280 A873 syscall SetPort
00003282 286D EA48 movea.l A4, [A5 - 0x15B8]
00003286 2854 movea.l A4, [A4]
00003288 486C 000C pea.l [A4 + 0xC]
0000328C 286D EA48 movea.l A4, [A5 - 0x15B8]
00003290 2854 movea.l A4, [A4]
00003292 486C 0144 pea.l [A4 + 0x144]
00003296 A8A5 syscall FillRect
00003298 4EFA 0014 jmp [PC + 0x14 /* 000032AE */]
label0000329C:
0000329C 0C47 0026 cmpi.w D7, 0x26 /* '&' */
000032A0 6C00 000C bge +0xE /* 000032AE */
000032A4 5247 addq.w D7, 1
000032A6 3D47 FFFE move.w [A6 - 0x2], D7
000032AA 4EFA FF6C jmp [PC - 0x94 /* 00003218 */]
label000032AE:
000032AE 4EFA 0016 jmp [PC + 0x16 /* 000032C6 */]
label000032B2:
000032B2 486E 0008 pea.l [A6 + 0x8]
000032B6 A870 syscall LocalToGlobal
000032B8 2F2D F9B6 move.l -[A7], [A5 - 0x64A]
000032BC 2F2E 0008 move.l -[A7], [A6 + 0x8]
000032C0 486D FCDA pea.l [A5 - 0x326]
000032C4 A925 syscall DragWindow
label000032C6:
000032C6 2F2E FFFA move.l -[A7], [A6 - 0x6]
000032CA A873 syscall SetPort
000032CC 4CDF 10C0 movem.l D6,D7,A4, [A7]+
000032D0 4E5E unlink A6
000032D2 2E9F move.l [A7], [A7]+
000032D4 4E75 rts
fn000032D6:
000032D6 4E56 FFDA link A6, -0x0026
000032DA 48E7 0318 movem.l -[A7], D6,D7,A3,A4
000032DE 286E 0008 movea.l A4, [A6 + 0x8]
000032E2 47EE FFF0 lea.l A3, [A6 - 0x10]
000032E6 3E3C 000F move.w D7, 0xF
label000032EA:
000032EA 16DC move.b [A3]+, [A4]+
000032EC 51CF FFFC dbf D7, -0x6 /* 000032EA */
000032F0 2D6E FFFA FFE6 move.l [A6 - 0x1A], [A6 - 0x6]
000032F6 558F subq.l A7, 2
000032F8 2F2E FFE6 move.l -[A7], [A6 - 0x1A]
000032FC 486E FFEA pea.l [A6 - 0x16]
00003300 A92C syscall FindWindow
00003302 3E1F move.w D7, [A7]+
00003304 3D47 FFE2 move.w [A6 - 0x1E], D7
00003308 4EFA 01A2 jmp [PC + 0x1A2 /* 000034AC */]
0000330C 598F subq.l A7, 4
0000330E 2F2E FFE6 move.l -[A7], [A6 - 0x1A]
00003312 A93D syscall MenuSelect
00003314 2E1F move.l D7, [A7]+
00003316 2F07 move.l -[A7], D7
00003318 4EBA F48C jsr [PC - 0xB74 /* 000027A6 */]
0000331C 4EFA 01BC jmp [PC + 0x1BC /* 000034DA */]
00003320 486E FFF0 pea.l [A6 - 0x10]
00003324 2F2E FFEA move.l -[A7], [A6 - 0x16]
00003328 A9B3 syscall SystemClick
0000332A 4EFA 01AE jmp [PC + 0x1AE /* 000034DA */]
0000332E 598F subq.l A7, 4
00003330 A924 syscall FrontWindow
00003332 2E1F move.l D7, [A7]+
00003334 2C2E FFEA move.l D6, [A6 - 0x16]
00003338 BC87 cmp.l D6, D7
0000333A 6700 000C beq +0xE /* 00003348 */
0000333E 2F2E FFEA move.l -[A7], [A6 - 0x16]
00003342 A91F syscall SelectWindow
00003344 4EFA 00B4 jmp [PC + 0xB4 /* 000033FA */]
label00003348:
00003348 486E FFE6 pea.l [A6 - 0x1A]
0000334C A871 syscall GlobalToLocal
0000334E 558F subq.l A7, 2
00003350 2F2E FFE6 move.l -[A7], [A6 - 0x1A]
00003354 2F2E FFEA move.l -[A7], [A6 - 0x16]
00003358 486E FFDC pea.l [A6 - 0x24]
0000335C A96C syscall FindControl
0000335E 3E1F move.w D7, [A7]+
00003360 3D47 FFDA move.w [A6 - 0x26], D7
00003364 0C6E 0000 FFDA cmpi.w [A6 - 0x26], 0x0
0000336A 6F00 0012 ble +0x14 /* 0000337E */
0000336E 2F2E FFDC move.l -[A7], [A6 - 0x24]
00003372 2F2E FFE6 move.l -[A7], [A6 - 0x1A]
00003376 4EBA F79A jsr [PC - 0x866 /* 00002B12 */]
0000337A 4EFA 007E jmp [PC + 0x7E /* 000033FA */]
label0000337E:
0000337E 2E2E FFEA move.l D7, [A6 - 0x16]
00003382 BEAD F9C2 cmp.l D7, [A5 - 0x63E]
00003386 6600 000A bne +0xC /* 00003392 */
0000338A 2F2E FFE6 move.l -[A7], [A6 - 0x1A]
0000338E 4EBA F958 jsr [PC - 0x6A8 /* 00002CE8 */]
label00003392:
00003392 2E2E FFEA move.l D7, [A6 - 0x16]
00003396 BEAD F9BA cmp.l D7, [A5 - 0x646]
0000339A 6600 000A bne +0xC /* 000033A6 */
0000339E 2F2E FFE6 move.l -[A7], [A6 - 0x1A]
000033A2 4EBA FC8A jsr [PC - 0x376 /* 0000302E */]
label000033A6:
000033A6 2E2E FFEA move.l D7, [A6 - 0x16]
000033AA BEAD F9BE cmp.l D7, [A5 - 0x642]
000033AE 6600 0016 bne +0x18 /* 000033C6 */
000033B2 486E FFE6 pea.l [A6 - 0x1A]
000033B6 A870 syscall LocalToGlobal
000033B8 2F2E FFEA move.l -[A7], [A6 - 0x16]
000033BC 2F2E FFE6 move.l -[A7], [A6 - 0x1A]
000033C0 486D FCDA pea.l [A5 - 0x326]
000033C4 A925 syscall DragWindow
label000033C6:
000033C6 2E2E FFEA move.l D7, [A6 - 0x16]
000033CA BEAD F9B2 cmp.l D7, [A5 - 0x64E]
000033CE 6600 0016 bne +0x18 /* 000033E6 */
000033D2 486E FFE6 pea.l [A6 - 0x1A]
000033D6 A870 syscall LocalToGlobal
000033D8 2F2E FFEA move.l -[A7], [A6 - 0x16]
000033DC 2F2E FFE6 move.l -[A7], [A6 - 0x1A]
000033E0 486D FCDA pea.l [A5 - 0x326]
000033E4 A925 syscall DragWindow
label000033E6:
000033E6 2E2E FFEA move.l D7, [A6 - 0x16]
000033EA BEAD F9B6 cmp.l D7, [A5 - 0x64A]
000033EE 6600 000A bne +0xC /* 000033FA */
000033F2 2F2E FFE6 move.l -[A7], [A6 - 0x1A]
000033F6 4EBA FDD8 jsr [PC - 0x228 /* 000031D0 */]
label000033FA:
000033FA 4EFA 00DE jmp [PC + 0xDE /* 000034DA */]
000033FE 598F subq.l A7, 4
00003400 A924 syscall FrontWindow
00003402 2E1F move.l D7, [A7]+
00003404 2C2E FFEA move.l D6, [A6 - 0x16]
00003408 BC87 cmp.l D6, D7
0000340A 6700 000C beq +0xE /* 00003418 */
0000340E 2F2E FFEA move.l -[A7], [A6 - 0x16]
00003412 A91F syscall SelectWindow
00003414 4EFA 001A jmp [PC + 0x1A /* 00003430 */]
label00003418:
00003418 2E2E FFEA move.l D7, [A6 - 0x16]
0000341C BEAD F9BA cmp.l D7, [A5 - 0x646]
00003420 6600 000E bne +0x10 /* 00003430 */
00003424 2F2E FFEA move.l -[A7], [A6 - 0x16]
00003428 2F2E FFE6 move.l -[A7], [A6 - 0x1A]
0000342C 4EBA CDCC jsr [PC - 0x3234 /* 000001FA */]
label00003430:
00003430 4EFA 00A8 jmp [PC + 0xA8 /* 000034DA */]
00003434 598F subq.l A7, 4
00003436 A924 syscall FrontWindow
00003438 2E1F move.l D7, [A7]+
0000343A 2C2E FFEA move.l D6, [A6 - 0x16]
0000343E BC87 cmp.l D6, D7
00003440 6700 000C beq +0xE /* 0000344E */
00003444 2F2E FFEA move.l -[A7], [A6 - 0x16]
00003448 A91F syscall SelectWindow
0000344A 4EFA 0010 jmp [PC + 0x10 /* 0000345C */]
label0000344E:
0000344E 2F2E FFEA move.l -[A7], [A6 - 0x16]
00003452 2F2E FFE6 move.l -[A7], [A6 - 0x1A]
00003456 486D FCDA pea.l [A5 - 0x326]
0000345A A925 syscall DragWindow
label0000345C:
0000345C 4EFA 007C jmp [PC + 0x7C /* 000034DA */]
00003460 598F subq.l A7, 4
00003462 A924 syscall FrontWindow
00003464 2E1F move.l D7, [A7]+
00003466 2C2E FFEA move.l D6, [A6 - 0x16]
0000346A BC87 cmp.l D6, D7
0000346C 6700 000C beq +0xE /* 0000347A */
00003470 2F2E FFEA move.l -[A7], [A6 - 0x16]
00003474 A91F syscall SelectWindow
00003476 4EFA 0030 jmp [PC + 0x30 /* 000034A8 */]
label0000347A:
0000347A 558F subq.l A7, 2
0000347C 2F2E FFEA move.l -[A7], [A6 - 0x16]
00003480 2F2E FFE6 move.l -[A7], [A6 - 0x1A]
00003484 A91E syscall TrackGoAway
00003486 1E1F move.b D7, [A7]+
00003488 6700 001E beq +0x20 /* 000034A8 */
0000348C 0C6D 0002 ED1C cmpi.w [A5 - 0x12E4], 0x2
00003492 6600 0006 bne +0x8 /* 0000349A */
00003496 4EBA E640 jsr [PC - 0x19C0 /* 00001AD8 */]
label0000349A:
0000349A 0C6D 0002 ED1C cmpi.w [A5 - 0x12E4], 0x2
000034A0 6C00 0006 bge +0x8 /* 000034A8 */
000034A4 4EBA DFC2 jsr [PC - 0x203E /* 00001468 */]
label000034A8:
000034A8 4EFA 0030 jmp [PC + 0x30 /* 000034DA */]
label000034AC:
000034AC 3E2E FFE2 move.w D7, [A6 - 0x1E]
000034B0 0C47 0001 cmpi.w D7, 0x1
000034B4 6D00 0024 blt +0x26 /* 000034DA */
000034B8 0C47 0006 cmpi.w D7, 0x6
000034BC 6E00 001C bgt +0x1E /* 000034DA */
000034C0 0447 0001 subi.w D7, 0x1
000034C4 DE47 add.w D7, D7
000034C6 3E3B 7006 move.w D7, [PC + D7.w + 0x6]
000034CA 4EFB 7002 jmp [PC + D7.w + 0x2]
000034CE FE3E FE52 .unknown 0xFE3E 0xFE52 (W = 7)
000034D2 FE60 FF66 .extension 0xE60 <<F/1/7>>, 0xFF66 // unimplemented
000034D6 FF30 .extension 0xF30 <<F/4-5/7>> // unimplemented
000034D8 FF92 .invalid <<F/6/7>>
label000034DA:
000034DA 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+
000034DE 4E5E unlink A6
000034E0 2E9F move.l [A7], [A7]+
000034E2 4E75 rts
fn000034E4:
000034E4 4E56 FFEA link A6, -0x0016
000034E8 48E7 0118 movem.l -[A7], D7,A3,A4
000034EC 286E 0008 movea.l A4, [A6 + 0x8]
000034F0 47EE FFF0 lea.l A3, [A6 - 0x10]
000034F4 3E3C 000F move.w D7, 0xF
label000034F8:
000034F8 16DC move.b [A3]+, [A4]+
000034FA 51CF FFFC dbf D7, -0x6 /* 000034F8 */
000034FE 2D6E FFF2 FFEA move.l [A6 - 0x16], [A6 - 0xE]
00003504 2F2E FFEA move.l -[A7], [A6 - 0x16]
00003508 A873 syscall SetPort
0000350A 2E2E FFEA move.l D7, [A6 - 0x16]
0000350E BEAD F9BA cmp.l D7, [A5 - 0x646]
00003512 6600 0068 bne +0x6A /* 0000357C */
00003516 2F2E FFEA move.l -[A7], [A6 - 0x16]
0000351A A904 syscall DrawGrowIcon
0000351C 3E2E FFFE move.w D7, [A6 - 0x2]
00003520 0807 0000 btst.b D7, 0x0
00003524 56C7 sne D7
00003526 4407 neg.b D7
00003528 6700 001E beq +0x20 /* 00003548 */
0000352C 4A2D EDAE tst.b [A5 - 0x1252]
00003530 6700 000A beq +0xC /* 0000353C */
00003534 2F2D EEFC move.l -[A7], [A5 - 0x1104]
00003538 4267 clr.w -[A7]
0000353A A95D syscall HiliteControl
label0000353C:
0000353C 2F2D F996 move.l -[A7], [A5 - 0x66A]
00003540 4267 clr.w -[A7]
00003542 A93A syscall DisableItem
00003544 4EFA 0036 jmp [PC + 0x36 /* 0000357C */]
label00003548:
00003548 2F2D EEFC move.l -[A7], [A5 - 0x1104]
0000354C 3F3C 00FF move.w -[A7], 0xFF
00003550 A95D syscall HiliteControl
00003552 3E3C 0000 move.w D7, 0x0
00003556 3D47 FFEE move.w [A6 - 0x12], D7
0000355A 0C47 0006 cmpi.w D7, 0x6
0000355E 6E00 001C bgt +0x1E /* 0000357C */
label00003562:
00003562 2F2D F996 move.l -[A7], [A5 - 0x66A]
00003566 3F07 move.w -[A7], D7
00003568 A939 syscall EnableItem
0000356A 0C47 0006 cmpi.w D7, 0x6
0000356E 6C00 000C bge +0xE /* 0000357C */
00003572 5247 addq.w D7, 1
00003574 3D47 FFEE move.w [A6 - 0x12], D7
00003578 4EFA FFE8 jmp [PC - 0x18 /* 00003562 */]
label0000357C:
0000357C 2E2E FFEA move.l D7, [A6 - 0x16]
00003580 BEAD F9C2 cmp.l D7, [A5 - 0x63E]
00003584 6600 009E bne +0xA0 /* 00003624 */
00003588 3E2E FFFE move.w D7, [A6 - 0x2]
0000358C 0807 0000 btst.b D7, 0x0
00003590 56C7 sne D7
00003592 4407 neg.b D7
00003594 6700 0060 beq +0x62 /* 000035F6 */
00003598 2F2D F996 move.l -[A7], [A5 - 0x66A]
0000359C 4267 clr.w -[A7]
0000359E A939 syscall EnableItem
000035A0 3E3C 0001 move.w D7, 0x1
000035A4 3D47 FFEE move.w [A6 - 0x12], D7
000035A8 0C47 0006 cmpi.w D7, 0x6
000035AC 6E00 001C bgt +0x1E /* 000035CA */
label000035B0:
000035B0 2F2D F996 move.l -[A7], [A5 - 0x66A]
000035B4 3F07 move.w -[A7], D7
000035B6 A93A syscall DisableItem
000035B8 0C47 0006 cmpi.w D7, 0x6
000035BC 6C00 000C bge +0xE /* 000035CA */
000035C0 5247 addq.w D7, 1
000035C2 3D47 FFEE move.w [A6 - 0x12], D7
000035C6 4EFA FFE8 jmp [PC - 0x18 /* 000035B0 */]
label000035CA:
000035CA 598F subq.l A7, 4
000035CC A9F9 syscall InfoScrap
000035CE 2E1F move.l D7, [A7]+
000035D0 2B47 ECEE move.l [A5 - 0x1312], D7
000035D4 286D ECEE movea.l A4, [A5 - 0x1312]
000035D8 0C94 0000 0000 cmpi.l [A4], 0x0
000035DE 6F00 000C ble +0xE /* 000035EC */
000035E2 2F2D F996 move.l -[A7], [A5 - 0x66A]
000035E6 3F3C 0005 move.w -[A7], 0x5
000035EA A939 syscall EnableItem
label000035EC:
000035EC 1B7C 0001 ECF6 move.b [A5 - 0x130A], 0x1
000035F2 4EFA 0030 jmp [PC + 0x30 /* 00003624 */]
label000035F6:
000035F6 3E3C 0000 move.w D7, 0x0
000035FA 3D47 FFEE move.w [A6 - 0x12], D7
000035FE 0C47 0006 cmpi.w D7, 0x6
00003602 6E00 001C bgt +0x1E /* 00003620 */
label00003606:
00003606 2F2D F996 move.l -[A7], [A5 - 0x66A]
0000360A 3F07 move.w -[A7], D7
0000360C A939 syscall EnableItem
0000360E 0C47 0006 cmpi.w D7, 0x6
00003612 6C00 000C bge +0xE /* 00003620 */
00003616 5247 addq.w D7, 1
00003618 3D47 FFEE move.w [A6 - 0x12], D7
0000361C 4EFA FFE8 jmp [PC - 0x18 /* 00003606 */]
label00003620:
00003620 422D ECF6 clr.b [A5 - 0x130A]
label00003624:
00003624 2E2E FFEA move.l D7, [A6 - 0x16]
00003628 BEAD F9BE cmp.l D7, [A5 - 0x642]
0000362C 6600 0048 bne +0x4A /* 00003676 */
00003630 3E2E FFFE move.w D7, [A6 - 0x2]
00003634 0807 0000 btst.b D7, 0x0
00003638 56C7 sne D7
0000363A 4407 neg.b D7
0000363C 6700 000E beq +0x10 /* 0000364C */
00003640 2F2D F996 move.l -[A7], [A5 - 0x66A]
00003644 4267 clr.w -[A7]
00003646 A93A syscall DisableItem
00003648 4EFA 002C jmp [PC + 0x2C /* 00003676 */]
label0000364C:
0000364C 3E3C 0000 move.w D7, 0x0
00003650 3D47 FFEE move.w [A6 - 0x12], D7
00003654 0C47 0006 cmpi.w D7, 0x6
00003658 6E00 001C bgt +0x1E /* 00003676 */
label0000365C:
0000365C 2F2D F996 move.l -[A7], [A5 - 0x66A]
00003660 3F07 move.w -[A7], D7
00003662 A939 syscall EnableItem
00003664 0C47 0006 cmpi.w D7, 0x6
00003668 6C00 000C bge +0xE /* 00003676 */
0000366C 5247 addq.w D7, 1
0000366E 3D47 FFEE move.w [A6 - 0x12], D7
00003672 4EFA FFE8 jmp [PC - 0x18 /* 0000365C */]
label00003676:
00003676 2E2E FFEA move.l D7, [A6 - 0x16]
0000367A BEAD F9B6 cmp.l D7, [A5 - 0x64A]
0000367E 6600 0048 bne +0x4A /* 000036C8 */
00003682 3E2E FFFE move.w D7, [A6 - 0x2]
00003686 0807 0000 btst.b D7, 0x0
0000368A 56C7 sne D7
0000368C 4407 neg.b D7
0000368E 6700 000E beq +0x10 /* 0000369E */
00003692 2F2D F996 move.l -[A7], [A5 - 0x66A]
00003696 4267 clr.w -[A7]
00003698 A93A syscall DisableItem
0000369A 4EFA 002C jmp [PC + 0x2C /* 000036C8 */]
label0000369E:
0000369E 3E3C 0000 move.w D7, 0x0
000036A2 3D47 FFEE move.w [A6 - 0x12], D7
000036A6 0C47 0006 cmpi.w D7, 0x6
000036AA 6E00 001C bgt +0x1E /* 000036C8 */
label000036AE:
000036AE 2F2D F996 move.l -[A7], [A5 - 0x66A]
000036B2 3F07 move.w -[A7], D7
000036B4 A939 syscall EnableItem
000036B6 0C47 0006 cmpi.w D7, 0x6
000036BA 6C00 000C bge +0xE /* 000036C8 */
000036BE 5247 addq.w D7, 1
000036C0 3D47 FFEE move.w [A6 - 0x12], D7
000036C4 4EFA FFE8 jmp [PC - 0x18 /* 000036AE */]
label000036C8:
000036C8 2E2E FFEA move.l D7, [A6 - 0x16]
000036CC BEAD F9B2 cmp.l D7, [A5 - 0x64E]
000036D0 6600 005A bne +0x5C /* 0000372C */
000036D4 3E2E FFFE move.w D7, [A6 - 0x2]
000036D8 0807 0000 btst.b D7, 0x0
000036DC 56C7 sne D7
000036DE 4407 neg.b D7
000036E0 6700 0016 beq +0x18 /* 000036F8 */
000036E4 2F2D F996 move.l -[A7], [A5 - 0x66A]
000036E8 4267 clr.w -[A7]
000036EA A93A syscall DisableItem
000036EC 2F2D EA44 move.l -[A7], [A5 - 0x15BC]
000036F0 4267 clr.w -[A7]
000036F2 A95D syscall HiliteControl
000036F4 4EFA 0036 jmp [PC + 0x36 /* 0000372C */]
label000036F8:
000036F8 3E3C 0000 move.w D7, 0x0
000036FC 3D47 FFEE move.w [A6 - 0x12], D7
00003700 0C47 0006 cmpi.w D7, 0x6
00003704 6E00 001C bgt +0x1E /* 00003722 */
label00003708:
00003708 2F2D F996 move.l -[A7], [A5 - 0x66A]
0000370C 3F07 move.w -[A7], D7
0000370E A939 syscall EnableItem
00003710 0C47 0006 cmpi.w D7, 0x6
00003714 6C00 000C bge +0xE /* 00003722 */
00003718 5247 addq.w D7, 1
0000371A 3D47 FFEE move.w [A6 - 0x12], D7
0000371E 4EFA FFE8 jmp [PC - 0x18 /* 00003708 */]
label00003722:
00003722 2F2D EA44 move.l -[A7], [A5 - 0x15BC]
00003726 3F3C 00FF move.w -[A7], 0xFF
0000372A A95D syscall HiliteControl
label0000372C:
0000372C A937 syscall DrawMenuBar
0000372E 4CDF 1880 movem.l D7,A3,A4, [A7]+
00003732 4E5E unlink A6
00003734 2E9F move.l [A7], [A7]+
00003736 4E75 rts
fn00003738:
00003738 4E56 FFEE link A6, -0x0012
0000373C 48E7 0118 movem.l -[A7], D7,A3,A4
00003740 286E 0008 movea.l A4, [A6 + 0x8]
00003744 47EE FFF0 lea.l A3, [A6 - 0x10]
00003748 3E3C 000F move.w D7, 0xF
label0000374C:
0000374C 16DC move.b [A3]+, [A4]+
0000374E 51CF FFFC dbf D7, -0x6 /* 0000374C */
00003752 558F subq.l A7, 2
00003754 598F subq.l A7, 4
00003756 2F2E FFF2 move.l -[A7], [A6 - 0xE]
0000375A 2F3C 0000 00FF move.l -[A7], 0xFF
00003760 A858 syscall BitAnd
00003762 2E1F move.l D7, [A7]+
00003764 2F07 move.l -[A7], D7
00003766 A86B syscall LoWord
00003768 3E1F move.w D7, [A7]+
0000376A 3D47 FFEE move.w [A6 - 0x12], D7
0000376E 598F subq.l A7, 4
00003770 3E2E FFFE move.w D7, [A6 - 0x2]
00003774 48C7 ext.l D7
00003776 2F07 move.l -[A7], D7
00003778 2F3C 0000 0100 move.l -[A7], 0x100
0000377E A858 syscall BitAnd
00003780 2E1F move.l D7, [A7]+
00003782 0C87 0000 0100 cmpi.l D7, 0x100
00003788 6600 0012 bne +0x14 /* 0000379C */
0000378C 598F subq.l A7, 4
0000378E 3F2E FFEE move.w -[A7], [A6 - 0x12]
00003792 A93E syscall MenuKey
00003794 2E1F move.l D7, [A7]+
00003796 2F07 move.l -[A7], D7
00003798 4EBA F00C jsr [PC - 0xFF4 /* 000027A6 */]
label0000379C:
0000379C 4CDF 1880 movem.l D7,A3,A4, [A7]+
000037A0 4E5E unlink A6
000037A2 2E9F move.l [A7], [A7]+
000037A4 4E75 rts
fn000037A6:
000037A6 4E56 FFF0 link A6, -0x0010
000037AA 48E7 0308 movem.l -[A7], D6,D7,A4
000037AE A850 syscall InitCursor
label000037B0:
000037B0 A9B4 syscall SystemTask
000037B2 558F subq.l A7, 2
000037B4 3F3C FFFF move.w -[A7], 0xFFFF
000037B8 486E FFF0 pea.l [A6 - 0x10]
000037BC A970 syscall GetNextEvent
000037BE 1E1F move.b D7, [A7]+
000037C0 6700 005A beq +0x5C /* 0000381C */
000037C4 4EFA 0032 jmp [PC + 0x32 /* 000037F8 */]
label000037C8:
000037C8 486E FFF0 pea.l [A6 - 0x10]
000037CC 4EBA FB08 jsr [PC - 0x4F8 /* 000032D6 */]
000037D0 4EFA 004A jmp [PC + 0x4A /* 0000381C */]
label000037D4:
000037D4 486E FFF0 pea.l [A6 - 0x10]
000037D8 4EBA FF5E jsr [PC - 0xA2 /* 00003738 */]
000037DC 4EFA 003E jmp [PC + 0x3E /* 0000381C */]
label000037E0:
000037E0 486E FFF0 pea.l [A6 - 0x10]
000037E4 4EBA FCFE jsr [PC - 0x302 /* 000034E4 */]
000037E8 4EFA 0032 jmp [PC + 0x32 /* 0000381C */]
label000037EC:
000037EC 486E FFF0 pea.l [A6 - 0x10]
000037F0 4EBA EC8C jsr [PC - 0x1374 /* 0000247E */]
000037F4 4EFA 0026 jmp [PC + 0x26 /* 0000381C */]
label000037F8:
000037F8 3E2E FFF0 move.w D7, [A6 - 0x10]
000037FC 0C47 0001 cmpi.w D7, 0x1
00003800 6700 FFC6 beq -0x38 /* 000037C8 */
00003804 0C47 0003 cmpi.w D7, 0x3
00003808 6700 FFCA beq -0x34 /* 000037D4 */
0000380C 0C47 0006 cmpi.w D7, 0x6
00003810 6700 FFDA beq -0x24 /* 000037EC */
00003814 0C47 0008 cmpi.w D7, 0x8
00003818 6700 FFC6 beq -0x38 /* 000037E0 */
label0000381C:
0000381C 4A2D ECF6 tst.b [A5 - 0x130A]
00003820 6700 002A beq +0x2C /* 0000384C */
00003824 486D ED4E pea.l [A5 - 0x12B2]
00003828 A972 syscall GetMouse
0000382A 558F subq.l A7, 2
0000382C 2F2D ED4E move.l -[A7], [A5 - 0x12B2]
00003830 486D ED0C pea.l [A5 - 0x12F4]
00003834 A8AD syscall PtInRect
00003836 1E1F move.b D7, [A7]+
00003838 6700 0010 beq +0x12 /* 0000384A */
0000383C 286D ECF8 movea.l A4, [A5 - 0x1308]
00003840 2854 movea.l A4, [A4]
00003842 2F0C move.l -[A7], A4
00003844 A851 syscall SetCursor
00003846 4EFA 0004 jmp [PC + 0x4 /* 0000384C */]
label0000384A:
0000384A A850 syscall InitCursor
label0000384C:
0000384C 0C6D 0002 ED1C cmpi.w [A5 - 0x12E4], 0x2
00003852 57C7 seq D7
00003854 4407 neg.b D7
00003856 1C2D EA08 move.b D6, [A5 - 0x15F8]
0000385A 0A06 0001 xori.b D6, 0x1
0000385E CC07 and.b D6, D7
00003860 6700 004E beq +0x50 /* 000038B0 */
00003864 2E2D EA12 move.l D7, [A5 - 0x15EE]
00003868 BEAD EA0A cmp.l D7, [A5 - 0x15F6]
0000386C 6700 0042 beq +0x44 /* 000038B0 */
00003870 598F subq.l A7, 4
00003872 A975 syscall TickCount
00003874 2E1F move.l D7, [A7]+
00003876 9EAD EA22 sub.l D7, [A5 - 0x15DE]
0000387A BEAD EA1E cmp.l D7, [A5 - 0x15E2]
0000387E 6F00 0030 ble +0x32 /* 000038B0 */
label00003882:
00003882 2E2D EA1E move.l D7, [A5 - 0x15E2]
00003886 0687 0000 003C addi.l D7, 0x3C /* '<' */
0000388C 2B47 EA1E move.l [A5 - 0x15E2], D7
00003890 52AD EA16 addq.l [A5 - 0x15EA], 1
00003894 598F subq.l A7, 4
00003896 A975 syscall TickCount
00003898 2E1F move.l D7, [A7]+
0000389A 9EAD EA22 sub.l D7, [A5 - 0x15DE]
0000389E 2C2D EA1E move.l D6, [A5 - 0x15E2]
000038A2 BC87 cmp.l D6, D7
000038A4 6F00 FFDC ble -0x22 /* 00003882 */
000038A8 1F3C 0003 move.b -[A7], 0x3
000038AC 4EBA 25A0 jsr [PC + 0x25A0 /* 00005E4E */]
label000038B0:
000038B0 558F subq.l A7, 2
000038B2 3F3C 0040 move.w -[A7], 0x40 /* '@' */
000038B6 486E FFF0 pea.l [A6 - 0x10]
000038BA A971 syscall EventAvail
000038BC 1E1F move.b D7, [A7]+
000038BE 57C7 seq D7
000038C0 4407 neg.b D7
000038C2 CE2D E9E4 and.b D7, [A5 - 0x161C]
000038C6 6700 0014 beq +0x16 /* 000038DC */
000038CA 4EBA C738 jsr [PC - 0x38C8 /* 00000004 */]
000038CE 286D E9BC movea.l A4, [A5 - 0x1644]
000038D2 2854 movea.l A4, [A4]
000038D4 52AC 0008 addq.l [A4 + 0x8], 1
000038D8 422D E9E4 clr.b [A5 - 0x161C]
label000038DC:
000038DC 4A2D F9AC tst.b [A5 - 0x654]
000038E0 6700 FECE beq -0x130 /* 000037B0 */
000038E4 4CDF 10C0 movem.l D6,D7,A4, [A7]+
000038E8 4E5E unlink A6
000038EA 4E75 rts
fn000038EC:
000038EC 4E56 FFFE link A6, -0x0002
000038F0 48E7 0308 movem.l -[A7], D6,D7,A4
000038F4 598F subq.l A7, 4
000038F6 3F3C 0001 move.w -[A7], 0x1
000038FA A9BF syscall GetRMenu
000038FC 2E1F move.l D7, [A7]+
000038FE 2B47 F98E move.l [A5 - 0x672], D7
00003902 2F2D F98E move.l -[A7], [A5 - 0x672]
00003906 2F3A 00EE move.l -[A7], [PC + 0xEE /* 000039F6, value 0x44525652 'DRVR', cstring "DRVRNV" */]
0000390A A94D syscall AppendResMenu/AddResMenu
0000390C 598F subq.l A7, 4
0000390E 3F3C 0100 move.w -[A7], 0x100
00003912 A9BF syscall GetRMenu
00003914 2E1F move.l D7, [A7]+
00003916 2B47 F992 move.l [A5 - 0x66E], D7
0000391A 598F subq.l A7, 4
0000391C 3F3C 0101 move.w -[A7], 0x101
00003920 A9BF syscall GetRMenu
00003922 2E1F move.l D7, [A7]+
00003924 2B47 F996 move.l [A5 - 0x66A], D7
00003928 598F subq.l A7, 4
0000392A 3F3C 0102 move.w -[A7], 0x102
0000392E A9BF syscall GetRMenu
00003930 2E1F move.l D7, [A7]+
00003932 2B47 F99A move.l [A5 - 0x666], D7
00003936 598F subq.l A7, 4
00003938 3F3C 0103 move.w -[A7], 0x103
0000393C A9BF syscall GetRMenu
0000393E 2E1F move.l D7, [A7]+
00003940 2B47 F99E move.l [A5 - 0x662], D7
00003944 598F subq.l A7, 4
00003946 3F3C 0104 move.w -[A7], 0x104
0000394A A9BF syscall GetRMenu
0000394C 2E1F move.l D7, [A7]+
0000394E 2B47 F9A2 move.l [A5 - 0x65E], D7
00003952 2F2D F99A move.l -[A7], [A5 - 0x666]
00003956 3F3C 0004 move.w -[A7], 0x4
0000395A 1F3C 0001 move.b -[A7], 0x1
0000395E A945 syscall CheckItem
00003960 1B7C 0001 EA28 move.b [A5 - 0x15D8], 0x1
00003966 3E3C 0001 move.w D7, 0x1
0000396A 3D47 FFFE move.w [A6 - 0x2], D7
0000396E 0C47 0006 cmpi.w D7, 0x6
00003972 6E00 0026 bgt +0x28 /* 0000399A */
label00003976:
00003976 3C07 move.w D6, D7
00003978 5346 subq.w D6, 1
0000397A E54E lsl D6.w, 2
0000397C 49ED F98E lea.l A4, [A5 - 0x672]
00003980 2F34 6000 move.l -[A7], [A4 + D6.w]
00003984 4267 clr.w -[A7]
00003986 A935 syscall InsertMenu
00003988 0C47 0006 cmpi.w D7, 0x6
0000398C 6C00 000C bge +0xE /* 0000399A */
00003990 5247 addq.w D7, 1
00003992 3D47 FFFE move.w [A6 - 0x2], D7
00003996 4EFA FFDE jmp [PC - 0x22 /* 00003976 */]
label0000399A:
0000399A 2F2D F992 move.l -[A7], [A5 - 0x66E]
0000399E 3F3C 0003 move.w -[A7], 0x3
000039A2 A93A syscall DisableItem
000039A4 2F2D F992 move.l -[A7], [A5 - 0x66E]
000039A8 3F3C 0004 move.w -[A7], 0x4
000039AC A93A syscall DisableItem
000039AE 2F2D F992 move.l -[A7], [A5 - 0x66E]
000039B2 3F3C 0006 move.w -[A7], 0x6
000039B6 A93A syscall DisableItem
000039B8 2F2D F99A move.l -[A7], [A5 - 0x666]
000039BC 3F3C 0003 move.w -[A7], 0x3
000039C0 A93A syscall DisableItem
000039C2 3E3C 0001 move.w D7, 0x1
000039C6 3D47 FFFE move.w [A6 - 0x2], D7
000039CA 0C47 0004 cmpi.w D7, 0x4
000039CE 6E00 001C bgt +0x1E /* 000039EC */
label000039D2:
000039D2 2F2D F99E move.l -[A7], [A5 - 0x662]
000039D6 3F07 move.w -[A7], D7
000039D8 A93A syscall DisableItem
000039DA 0C47 0004 cmpi.w D7, 0x4
000039DE 6C00 000C bge +0xE /* 000039EC */
000039E2 5247 addq.w D7, 1
000039E4 3D47 FFFE move.w [A6 - 0x2], D7
000039E8 4EFA FFE8 jmp [PC - 0x18 /* 000039D2 */]
label000039EC:
000039EC A937 syscall DrawMenuBar
000039EE 4CDF 10C0 movem.l D6,D7,A4, [A7]+
000039F2 4E5E unlink A6
000039F4 4E75 rts
000039F6 4452 neg.w [A2]
000039F8 5652 addq.w [A2], 3
fn000039FA:
000039FA 4E56 0000 link A6, 0
000039FE 48E7 0100 movem.l -[A7], D7
00003A02 558F subq.l A7, 2
00003A04 2F2D EA3C move.l -[A7], [A5 - 0x15C4]
00003A08 4227 clr.b -[A7]
00003A0A 4EBA 0292 jsr [PC + 0x292 /* 00003C9E */]
00003A0E 3E1F move.w D7, [A7]+
00003A10 3B47 EA26 move.w [A5 - 0x15DA], D7
00003A14 3F2D E9C8 move.w -[A7], [A5 - 0x1638]
00003A18 A998 syscall UseResFile
00003A1A 2F2D E9BC move.l -[A7], [A5 - 0x1644]
00003A1E A9AA syscall ChangedResource
00003A20 2F2D E9BC move.l -[A7], [A5 - 0x1644]
00003A24 A9B0 syscall WriteResource
00003A26 4CDF 0080 movem.l D7, [A7]+
00003A2A 4E5E unlink A6
00003A2C 4E75 rts
label00003A2E:
00003A2E 2C7C 0000 0000 movea.l A6, 0x0
00003A34 4E56 0000 link A6, 0
00003A38 4EBA D43E jsr [PC - 0x2BC2 /* 00000E78 */]
00003A3C 4EBA 0174 jsr [PC + 0x174 /* 00003BB2 */]
00003A40 598F subq.l A7, 4
00003A42 A9F9 syscall InfoScrap
00003A44 2E1F move.l D7, [A7]+
00003A46 2B47 ECEE move.l [A5 - 0x1312], D7
00003A4A 286D ECEE movea.l A4, [A5 - 0x1312]
00003A4E 0C6C 0000 000A cmpi.w [A4 + 0xA], 0x0
00003A54 6C00 000C bge +0xE /* 00003A62 */
00003A58 598F subq.l A7, 4
00003A5A A9FC syscall ZeroScrap
00003A5C 2E1F move.l D7, [A7]+
00003A5E 2B47 ED20 move.l [A5 - 0x12E0], D7
label00003A62:
00003A62 4EBA 09D6 jsr [PC + 0x9D6 /* 0000443A */]
00003A66 4EBA FE84 jsr [PC - 0x17C /* 000038EC */]
00003A6A 4EBA D568 jsr [PC - 0x2A98 /* 00000FD4 */]
00003A6E 4EBA CE68 jsr [PC - 0x3198 /* 000008D8 */]
00003A72 598F subq.l A7, 4
00003A74 42A7 clr.l -[A7]
00003A76 4EBA 01A4 jsr [PC + 0x1A4 /* 00003C1C */]
00003A7A 2E1F move.l D7, [A7]+
00003A7C 2B47 FCEA move.l [A5 - 0x316], D7
00003A80 2B7C 0002 5800 E9E0 move.l [A5 - 0x1620], 0x25800
00003A88 598F subq.l A7, 4
00003A8A 2F2D E9E0 move.l -[A7], [A5 - 0x1620]
00003A8E 4EBA 010A jsr [PC + 0x10A /* 00003B9A */]
00003A92 2E1F move.l D7, [A7]+
00003A94 BEAD E9E0 cmp.l D7, [A5 - 0x1620]
00003A98 6C00 0010 bge +0x12 /* 00003AAA */
00003A9C A850 syscall InitCursor
00003A9E 3F3C 1B77 move.w -[A7], 0x1B77
00003AA2 486D FF28 pea.l [A5 - 0xD8]
00003AA6 4EBA 0750 jsr [PC + 0x750 /* 000041F8 */]
label00003AAA:
00003AAA 4EBA E2DC jsr [PC - 0x1D24 /* 00001D88 */]
00003AAE 4EBA FCF6 jsr [PC - 0x30A /* 000037A6 */]
00003AB2 4EBA FF46 jsr [PC - 0xBA /* 000039FA */]
00003AB6 4E5E unlink A6
00003AB8 4E75 rts
fn00003ABA:
00003ABA 4280 clr.l D0
00003ABC 302F 0004 move.w D0, [A7 + 0x4]
00003AC0 A11E syscall NewPtr, flags=1
00003AC2 226F 0006 movea.l A1, [A7 + 0x6]
00003AC6 2288 move.l [A1], A0
00003AC8 205F movea.l A0, [A7]+
00003ACA 5C8F addq.l A7, 6
00003ACC 4ED0 jmp [A0]
fn00003ACE:
00003ACE 4E56 FFF8 link A6, -0x0008
00003AD2 2F2E 000C move.l -[A7], [A6 + 0xC]
00003AD6 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003ADA 486E FFF8 pea.l [A6 - 0x8]
00003ADE A867 syscall LongMul
00003AE0 202E FFF8 move.l D0, [A6 - 0x8]
00003AE4 222E FFFC move.l D1, [A6 - 0x4]
00003AE8 2D41 0010 move.l [A6 + 0x10], D1
00003AEC 4E5E unlink A6
00003AEE 225F movea.l A1, [A7]+
00003AF0 508F addq.l A7, 8
00003AF2 4ED1 jmp [A1]
fn00003AF4:
00003AF4 4EBA 0026 jsr [PC + 0x26 /* 00003B1C */]
00003AF8 2D43 0010 move.l [A6 + 0x10], D3
00003AFC 4CDF 0078 movem.l D3,D4,D5,D6, [A7]+
00003B00 4E5E unlink A6
00003B02 225F movea.l A1, [A7]+
00003B04 508F addq.l A7, 8
00003B06 4ED1 jmp [A1]
fn00003B08:
00003B08 4EBA 0012 jsr [PC + 0x12 /* 00003B1C */]
00003B0C 2D40 0010 move.l [A6 + 0x10], D0
00003B10 4CDF 0078 movem.l D3,D4,D5,D6, [A7]+
00003B14 4E5E unlink A6
00003B16 225F movea.l A1, [A7]+
00003B18 508F addq.l A7, 8
00003B1A 4ED1 jmp [A1]
fn00003B1C:
00003B1C 225F movea.l A1, [A7]+
00003B1E 4E56 0000 link A6, 0
00003B22 48E7 1E00 movem.l -[A7], D3,D4,D5,D6
00003B26 4280 clr.l D0
00003B28 222E 000C move.l D1, [A6 + 0xC]
00003B2C 5BC5 smi D5
00003B2E 6A02 bpl +0x4 /* 00003B32 */
00003B30 4481 neg.l D1
label00003B32:
00003B32 242E 0008 move.l D2, [A6 + 0x8]
00003B36 5BC6 smi D6
00003B38 6A02 bpl +0x4 /* 00003B3C */
00003B3A 4482 neg.l D2
label00003B3C:
00003B3C 4283 clr.l D3
00003B3E 383C 001F move.w D4, 0x1F
label00003B42:
00003B42 E38B lsl D3, 1
00003B44 E389 lsl D1, 1
00003B46 E390 roxl D0, 1
00003B48 9082 sub.l D0, D2
00003B4A 6B06 bmi +0x8 /* 00003B52 */
00003B4C 08C3 0000 bset.b D3, 0x0
00003B50 6002 bra +0x4 /* 00003B54 */
label00003B52:
00003B52 D082 add.l D0, D2
label00003B54:
00003B54 51CC FFEC dbf D4, -0x16 /* 00003B42 */
00003B58 4A05 tst.b D5
00003B5A 6702 beq +0x4 /* 00003B5E */
00003B5C 4480 neg.l D0
label00003B5E:
00003B5E BB06 xor.b D6, D5
00003B60 6702 beq +0x4 /* 00003B64 */
00003B62 4483 neg.l D3
label00003B64:
00003B64 4ED1 jmp [A1]
fn00003B66:
00003B66 302F 0004 move.w D0, [A7 + 0x4]
00003B6A E548 lsl D0.w, 2
00003B6C 226F 0006 movea.l A1, [A7 + 0x6]
00003B70 5249 addq.w A1, 1
00003B72 4202 clr.b D2
label00003B74:
00003B74 2077 0006 movea.l A0, [A7 + D0.w + 0x6]
00003B78 4241 clr.w D1
00003B7A 1218 move.b D1, [A0]+
00003B7C 670A beq +0xC /* 00003B88 */
00003B7E D401 add.b D2, D1
00003B80 5341 subq.w D1, 1
label00003B82:
00003B82 12D8 move.b [A1]+, [A0]+
00003B84 51C9 FFFC dbf D1, -0x6 /* 00003B82 */
label00003B88:
00003B88 5900 subq.b D0, 4
00003B8A 66E8 bne -0x16 /* 00003B74 */
00003B8C 205F movea.l A0, [A7]+
00003B8E 301F move.w D0, [A7]+
00003B90 225F movea.l A1, [A7]+
00003B92 1282 move.b [A1], D2
00003B94 E548 lsl D0.w, 2
00003B96 DEC0 add.w A7, D0
00003B98 4ED0 jmp [A0]
fn00003B9A:
00003B9A 225F movea.l A1, [A7]+
00003B9C 201F move.l D0, [A7]+
00003B9E A04C syscall CompactMem
00003BA0 2E80 move.l [A7], D0
00003BA2 4E71 nop
label00003BA4:
00003BA4 7000 moveq.l D0, 0x00
label00003BA6:
00003BA6 2F09 move.l -[A7], A1
label00003BA8:
00003BA8 31C0 0220 move.w [0x00000220 /* MemErr */], D0
00003BAC 4E75 rts
00003BAE 7000 moveq.l D0, 0x00
00003BB0 60F6 bra -0x8 /* 00003BA8 */
fn00003BB2:
00003BB2 4A78 028E tst.w [0x0000028E /* ROM85 */]
00003BB6 6A2A bpl +0x2C /* 00003BE2 */
00003BB8 2078 0130 movea.l A0, [0x00000130 /* ApplLimit */]
00003BBC 43F8 0114 lea.l A1, [0x00000114 /* HeapEnd */]
00003BC0 2008 move.l D0, A0
00003BC2 9091 sub.l D0, [A1]
00003BC4 740C moveq.l D2, 0x0C
00003BC6 B082 cmp.l D0, D2
00003BC8 6516 bcs +0x18 /* 00003BE0 */
00003BCA 2251 movea.l A1, [A1]
00003BCC 21C8 0114 move.l [0x00000114 /* HeapEnd */], A0
00003BD0 2280 move.l [A1], D0
00003BD2 4211 clr.b [A1]
00003BD4 2278 02AA movea.l A1, [0x000002AA /* ApplZone */]
00003BD8 2288 move.l [A1], A0
00003BDA 2082 move.l [A0], D2
00003BDC D1A9 000C add.l [A1 + 0xC], D0
label00003BE0:
00003BE0 4E75 rts
label00003BE2:
00003BE2 A063 syscall MaxApplZone
00003BE4 4E75 rts
fn00003BE6:
00003BE6 225F movea.l A1, [A7]+
00003BE8 201F move.l D0, [A7]+
00003BEA A11E syscall NewPtr, flags=1
00003BEC 2E88 move.l [A7], A0
00003BEE 4EFA FFB6 jmp [PC - 0x4A /* 00003BA6 */]
fn00003BF2:
00003BF2 225F movea.l A1, [A7]+
00003BF4 205F movea.l A0, [A7]+
00003BF6 A01F syscall DisposPtr/DisposePtr
00003BF8 4EFA FFAC jmp [PC - 0x54 /* 00003BA6 */]
fn00003BFC:
00003BFC 225F movea.l A1, [A7]+
00003BFE 205F movea.l A0, [A7]+
00003C00 A021 syscall GetPtrSize
00003C02 2E80 move.l [A7], D0
00003C04 6A06 bpl +0x8 /* 00003C0C */
00003C06 4297 clr.l [A7]
00003C08 4EFA FF9C jmp [PC - 0x64 /* 00003BA6 */]
label00003C0C:
00003C0C 4EFA FF96 jmp [PC - 0x6A /* 00003BA4 */]
fn00003C10:
00003C10 225F movea.l A1, [A7]+
00003C12 201F move.l D0, [A7]+
00003C14 205F movea.l A0, [A7]+
00003C16 A020 syscall SetPtrSize
00003C18 4EFA FF8C jmp [PC - 0x74 /* 00003BA6 */]
fn00003C1C:
00003C1C 225F movea.l A1, [A7]+
00003C1E 201F move.l D0, [A7]+
00003C20 A122 syscall NewHandle, flags=1
00003C22 2E88 move.l [A7], A0
00003C24 4EFA FF80 jmp [PC - 0x80 /* 00003BA6 */]
fn00003C28:
00003C28 225F movea.l A1, [A7]+
00003C2A 205F movea.l A0, [A7]+
00003C2C A023 syscall DisposHandle/DisposeHandle
00003C2E 4EFA FF76 jmp [PC - 0x8A /* 00003BA6 */]
fn00003C32:
00003C32 225F movea.l A1, [A7]+
00003C34 205F movea.l A0, [A7]+
00003C36 A025 syscall GetHandleSize
00003C38 2E80 move.l [A7], D0
00003C3A 6A06 bpl +0x8 /* 00003C42 */
00003C3C 4297 clr.l [A7]
00003C3E 4EFA FF66 jmp [PC - 0x9A /* 00003BA6 */]
label00003C42:
00003C42 4EFA FF60 jmp [PC - 0xA0 /* 00003BA4 */]
fn00003C46:
00003C46 225F movea.l A1, [A7]+
00003C48 201F move.l D0, [A7]+
00003C4A 205F movea.l A0, [A7]+
00003C4C A024 syscall SetHandleSize
00003C4E 4EFA FF56 jmp [PC - 0xAA /* 00003BA6 */]
fn00003C52:
00003C52 225F movea.l A1, [A7]+
00003C54 205F movea.l A0, [A7]+
00003C56 A029 syscall HLock
00003C58 4EFA FF4C jmp [PC - 0xB4 /* 00003BA6 */]
fn00003C5C:
00003C5C 225F movea.l A1, [A7]+
00003C5E 205F movea.l A0, [A7]+
00003C60 A02A syscall HUnlock
00003C62 4EFA FF42 jmp [PC - 0xBE /* 00003BA6 */]
fn00003C66:
00003C66 A036 syscall MoreMasters
00003C68 4EFA FF3E jmp [PC - 0xC2 /* 00003BA8 */]
fn00003C6C:
00003C6C 221F move.l D1, [A7]+
00003C6E 201F move.l D0, [A7]+
00003C70 225F movea.l A1, [A7]+
00003C72 205F movea.l A0, [A7]+
00003C74 A02E syscall BlockMove/BlockMoveData
00003C76 2241 movea.l A1, D1
00003C78 4EFA FF2C jmp [PC - 0xD4 /* 00003BA6 */]
fn00003C7C:
00003C7C 7000 moveq.l D0, 0x00
00003C7E 206F 0004 movea.l A0, [A7 + 0x4]
00003C82 2038 020C move.l D0, [0x0000020C /* Time */]
00003C86 A9C6 syscall SecondsToDate/Secs2Date
00003C88 2E9F move.l [A7], [A7]+
00003C8A 4E75 rts
fn00003C8C:
00003C8C 225F movea.l A1, [A7]+
00003C8E 101F move.b D0, [A7]+
00003C90 205F movea.l A0, [A7]+
00003C92 6604 bne +0x6 /* 00003C98 */
00003C94 A003 syscall Write
00003C96 6002 bra +0x4 /* 00003C9A */
label00003C98:
00003C98 A403 syscall Write, flags=4
label00003C9A:
00003C9A 3E80 move.w [A7], D0
00003C9C 4ED1 jmp [A1]
fn00003C9E:
00003C9E 225F movea.l A1, [A7]+
00003CA0 101F move.b D0, [A7]+
00003CA2 205F movea.l A0, [A7]+
00003CA4 6604 bne +0x6 /* 00003CAA */
00003CA6 A006 syscall KillIO
00003CA8 6002 bra +0x4 /* 00003CAC */
label00003CAA:
00003CAA A406 syscall KillIO, flags=4
label00003CAC:
00003CAC 3E80 move.w [A7], D0
00003CAE 4ED1 jmp [A1]
fn00003CB0:
00003CB0 4E56 FFCE link A6, -0x0032
00003CB4 41EE FFCE lea.l A0, [A6 - 0x32]
00003CB8 216E 000E 0012 move.l [A0 + 0x12], [A6 + 0xE]
00003CBE 316E 000C 0016 move.w [A0 + 0x16], [A6 + 0xC]
00003CC4 4228 001A clr.b [A0 + 0x1A]
00003CC8 4228 001B clr.b [A0 + 0x1B]
00003CCC 42A8 001C clr.l [A0 + 0x1C]
00003CD0 A000 syscall Open/PBHOpen/HOpen
00003CD2 226E 0008 movea.l A1, [A6 + 0x8]
00003CD6 32A8 0018 move.w [A1], [A0 + 0x18]
00003CDA 3D40 0012 move.w [A6 + 0x12], D0
00003CDE 4E5E unlink A6
00003CE0 205F movea.l A0, [A7]+
00003CE2 DFFC 0000 000A add.l A7, 0xA /* '\n' */
00003CE8 4ED0 jmp [A0]
fn00003CEA:
00003CEA 4E56 FFCE link A6, -0x0032
00003CEE 41EE FFCE lea.l A0, [A6 - 0x32]
00003CF2 316E 0008 0018 move.w [A0 + 0x18], [A6 + 0x8]
00003CF8 A001 syscall Close
00003CFA 3D40 000A move.w [A6 + 0xA], D0
00003CFE 4E5E unlink A6
00003D00 205F movea.l A0, [A7]+
00003D02 548F addq.l A7, 2
00003D04 4ED0 jmp [A0]
fn00003D06:
00003D06 51C1 sf D1
00003D08 6002 bra +0x4 /* 00003D0C */
fn00003D0A:
00003D0A 50C1 st D1
label00003D0C:
00003D0C 4E56 FFCE link A6, -0x0032
00003D10 41EE FFCE lea.l A0, [A6 - 0x32]
00003D14 216E 0008 0020 move.l [A0 + 0x20], [A6 + 0x8]
00003D1A 316E 0010 0018 move.w [A0 + 0x18], [A6 + 0x10]
00003D20 226E 000C movea.l A1, [A6 + 0xC]
00003D24 2151 0024 move.l [A0 + 0x24], [A1]
00003D28 4268 002C clr.w [A0 + 0x2C]
00003D2C 42A8 002E clr.l [A0 + 0x2E]
00003D30 4A01 tst.b D1
00003D32 6604 bne +0x6 /* 00003D38 */
00003D34 A002 syscall Read
00003D36 6002 bra +0x4 /* 00003D3A */
label00003D38:
00003D38 A003 syscall Write
label00003D3A:
00003D3A 3D40 0012 move.w [A6 + 0x12], D0
00003D3E 226E 000C movea.l A1, [A6 + 0xC]
00003D42 22A8 0028 move.l [A1], [A0 + 0x28]
00003D46 4E5E unlink A6
00003D48 225F movea.l A1, [A7]+
00003D4A DFFC 0000 000A add.l A7, 0xA /* '\n' */
00003D50 4ED1 jmp [A1]
fn00003D52:
00003D52 4E56 FFC0 link A6, -0x0040
00003D56 41EE FFC0 lea.l A0, [A6 - 0x40]
00003D5A 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
00003D60 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
00003D66 A015 syscall SetVol/PBHSetVol/HSetVol
00003D68 3D40 000E move.w [A6 + 0xE], D0
00003D6C 4E5E unlink A6
00003D6E 225F movea.l A1, [A7]+
00003D70 5C8F addq.l A7, 6
00003D72 4ED1 jmp [A1]
fn00003D74:
00003D74 4E56 FFC0 link A6, -0x0040
00003D78 41EE FFC0 lea.l A0, [A6 - 0x40]
00003D7C 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
00003D82 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
00003D88 A013 syscall FlushVol
00003D8A 3D40 000E move.w [A6 + 0xE], D0
00003D8E 4E5E unlink A6
00003D90 225F movea.l A1, [A7]+
00003D92 5C8F addq.l A7, 6
00003D94 4ED1 jmp [A1]
fn00003D96:
00003D96 4E56 FFB0 link A6, -0x0050
00003D9A 41EE FFB0 lea.l A0, [A6 - 0x50]
00003D9E 216E 0012 0012 move.l [A0 + 0x12], [A6 + 0x12]
00003DA4 316E 0010 0016 move.w [A0 + 0x16], [A6 + 0x10]
00003DAA 4228 001A clr.b [A0 + 0x1A]
00003DAE A008 syscall Create/PBHCreate/HCreate
00003DB0 4A40 tst.w D0
00003DB2 6616 bne +0x18 /* 00003DCA */
00003DB4 4268 001C clr.w [A0 + 0x1C]
00003DB8 A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
00003DBA 2008 move.l D0, A0
00003DBC 43E8 0020 lea.l A1, [A0 + 0x20]
00003DC0 22EE 0008 move.l [A1]+, [A6 + 0x8]
00003DC4 22AE 000C move.l [A1], [A6 + 0xC]
00003DC8 A00D syscall SetFileInfo/PBHSetFInfo/HSetFileInfo
label00003DCA:
00003DCA 3D40 0016 move.w [A6 + 0x16], D0
00003DCE 4E5E unlink A6
00003DD0 225F movea.l A1, [A7]+
00003DD2 DFFC 0000 000E add.l A7, 0xE
00003DD8 4ED1 jmp [A1]
fn00003DDA:
00003DDA 4E56 FFCE link A6, -0x0032
00003DDE 41EE FFCE lea.l A0, [A6 - 0x32]
00003DE2 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
00003DE8 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
00003DEE 4228 001A clr.b [A0 + 0x1A]
00003DF2 A009 syscall Delete/PBHDelete/HDelete
00003DF4 3D40 000E move.w [A6 + 0xE], D0
00003DF8 4E5E unlink A6
00003DFA 225F movea.l A1, [A7]+
00003DFC 5C8F addq.l A7, 6
00003DFE 4ED1 jmp [A1]
fn00003E00:
00003E00 4E56 FFCE link A6, -0x0032
00003E04 41EE FFCE lea.l A0, [A6 - 0x32]
00003E08 316E 000C 0018 move.w [A0 + 0x18], [A6 + 0xC]
00003E0E A011 syscall GetEOF
00003E10 3D40 000E move.w [A6 + 0xE], D0
00003E14 226E 0008 movea.l A1, [A6 + 0x8]
00003E18 22A8 001C move.l [A1], [A0 + 0x1C]
00003E1C 4E5E unlink A6
00003E1E 225F movea.l A1, [A7]+
00003E20 5C8F addq.l A7, 6
00003E22 4ED1 jmp [A1]
fn00003E24:
00003E24 4E56 FFCE link A6, -0x0032
00003E28 41EE FFCE lea.l A0, [A6 - 0x32]
00003E2C 316E 000C 0018 move.w [A0 + 0x18], [A6 + 0xC]
00003E32 216E 0008 001C move.l [A0 + 0x1C], [A6 + 0x8]
00003E38 A012 syscall SetEOF
00003E3A 3D40 000E move.w [A6 + 0xE], D0
00003E3E 4E5E unlink A6
00003E40 225F movea.l A1, [A7]+
00003E42 5C8F addq.l A7, 6
00003E44 4ED1 jmp [A1]
fn00003E46:
00003E46 4E56 FFCE link A6, -0x0032
00003E4A 41EE FFCE lea.l A0, [A6 - 0x32]
00003E4E 316E 000C 0018 move.w [A0 + 0x18], [A6 + 0xC]
00003E54 A018 syscall GetFPos
00003E56 3D40 000E move.w [A6 + 0xE], D0
00003E5A 226E 0008 movea.l A1, [A6 + 0x8]
00003E5E 22A8 002E move.l [A1], [A0 + 0x2E]
00003E62 4E5E unlink A6
00003E64 225F movea.l A1, [A7]+
00003E66 5C8F addq.l A7, 6
00003E68 4ED1 jmp [A1]
fn00003E6A:
00003E6A 4E56 FFCE link A6, -0x0032
00003E6E 41EE FFCE lea.l A0, [A6 - 0x32]
00003E72 316E 000E 0018 move.w [A0 + 0x18], [A6 + 0xE]
00003E78 316E 000C 002C move.w [A0 + 0x2C], [A6 + 0xC]
00003E7E 216E 0008 002E move.l [A0 + 0x2E], [A6 + 0x8]
00003E84 A044 syscall SetFPos
00003E86 3D40 0010 move.w [A6 + 0x10], D0
00003E8A 4E5E unlink A6
00003E8C 225F movea.l A1, [A7]+
00003E8E 508F addq.l A7, 8
00003E90 4ED1 jmp [A1]
fn00003E92:
00003E92 226F 0004 movea.l A1, [A7 + 0x4]
00003E96 4251 clr.w [A1]
00003E98 2078 0AEC movea.l A0, [0x00000AEC /* AppParmHandle */]
00003E9C A025 syscall GetHandleSize
00003E9E 4A80 tst.l D0
00003EA0 6F0E ble +0x10 /* 00003EB0 */
00003EA2 2050 movea.l A0, [A0]
00003EA4 226F 0008 movea.l A1, [A7 + 0x8]
00003EA8 3298 move.w [A1], [A0]+
00003EAA 226F 0004 movea.l A1, [A7 + 0x4]
00003EAE 3290 move.w [A1], [A0]
label00003EB0:
00003EB0 205F movea.l A0, [A7]+
00003EB2 504F addq.w A7, 8
00003EB4 4ED0 jmp [A0]
fn00003EB6:
00003EB6 48E7 0030 movem.l -[A7], A2,A3
00003EBA 226F 000C movea.l A1, [A7 + 0xC]
00003EBE 42A9 0002 clr.l [A1 + 0x2]
00003EC2 2078 0AEC movea.l A0, [0x00000AEC /* AppParmHandle */]
00003EC6 A025 syscall GetHandleSize
00003EC8 4A80 tst.l D0
00003ECA 6F26 ble +0x28 /* 00003EF2 */
00003ECC 2450 movea.l A2, [A0]
00003ECE 544A addq.w A2, 2
00003ED0 322F 0010 move.w D1, [A7 + 0x10]
00003ED4 B25A cmp.w D1, [A2]+
00003ED6 6E1A bgt +0x1C /* 00003EF2 */
00003ED8 5341 subq.w D1, 1
label00003EDA:
00003EDA 6D16 blt +0x18 /* 00003EF2 */
00003EDC 204A movea.l A0, A2
00003EDE 7002 moveq.l D0, 0x02
00003EE0 D028 0008 add.b D0, [A0 + 0x8]
00003EE4 0240 FFFE andi.w D0, 0xFFFE
00003EE8 5040 addq.w D0, 8
00003EEA D4C0 add.w A2, D0
00003EEC A02E syscall BlockMove/BlockMoveData
00003EEE 5341 subq.w D1, 1
00003EF0 60E8 bra -0x16 /* 00003EDA */
label00003EF2:
00003EF2 4CDF 0C00 movem.l A2,A3, [A7]+
00003EF6 205F movea.l A0, [A7]+
00003EF8 5C4F addq.w A7, 6
00003EFA 4ED0 jmp [A0]
fn00003EFC:
00003EFC 2078 0AEC movea.l A0, [0x00000AEC /* AppParmHandle */]
00003F00 A025 syscall GetHandleSize
00003F02 4A80 tst.l D0
00003F04 6F28 ble +0x2A /* 00003F2E */
00003F06 2050 movea.l A0, [A0]
00003F08 5448 addq.w A0, 2
00003F0A 322F 0004 move.w D1, [A7 + 0x4]
00003F0E B258 cmp.w D1, [A0]+
00003F10 6E1C bgt +0x1E /* 00003F2E */
00003F12 5341 subq.w D1, 1
label00003F14:
00003F14 6D18 blt +0x1A /* 00003F2E */
00003F16 6712 beq +0x14 /* 00003F2A */
00003F18 7002 moveq.l D0, 0x02
00003F1A D028 0008 add.b D0, [A0 + 0x8]
00003F1E 0240 FFFE andi.w D0, 0xFFFE
00003F22 5040 addq.w D0, 8
00003F24 D0C0 add.w A0, D0
00003F26 5341 subq.w D1, 1
00003F28 60EA bra -0x14 /* 00003F14 */
label00003F2A:
00003F2A 42A8 0002 clr.l [A0 + 0x2]
label00003F2E:
00003F2E 205F movea.l A0, [A7]+
00003F30 544F addq.w A7, 2
00003F32 4ED0 jmp [A0]
fn00003F34:
00003F34 7401 moveq.l D2, 0x01
label00003F36:
00003F36 205F movea.l A0, [A7]+
00003F38 3F02 move.w -[A7], D2
00003F3A 2F08 move.l -[A7], A0
00003F3C ADEA syscall Pack3, auto_pop
fn00003F3E:
00003F3E 7402 moveq.l D2, 0x02
00003F40 4EFA FFF4 jmp [PC - 0xC /* 00003F36 */]
fn00003F44:
00003F44 206F 0008 movea.l A0, [A7 + 0x8]
00003F48 3F3C 0001 move.w -[A7], 0x1
00003F4C A9EE syscall Pack7/DecStr68K
00003F4E 206F 0004 movea.l A0, [A7 + 0x4]
00003F52 2080 move.l [A0], D0
00003F54 4EFA 0010 jmp [PC + 0x10 /* 00003F66 */]
fn00003F58:
00003F58 206F 0004 movea.l A0, [A7 + 0x4]
00003F5C 202F 0008 move.l D0, [A7 + 0x8]
00003F60 3F3C 0000 move.w -[A7], 0x0
00003F64 A9EE syscall Pack7/DecStr68K
label00003F66:
00003F66 205F movea.l A0, [A7]+
00003F68 504F addq.w A7, 8
00003F6A 4ED0 jmp [A0]
fn00003F6C:
00003F6C 4E56 0000 link A6, 0
00003F70 594F subq.w A7, 4
00003F72 2F3C 5354 5223 move.l -[A7], 0x53545223 /* 'STR#' */
00003F78 3F2E 000A move.w -[A7], [A6 + 0xA]
00003F7C A9A0 syscall GetResource
00003F7E 226E 000C movea.l A1, [A6 + 0xC]
00003F82 4211 clr.b [A1]
00003F84 201F move.l D0, [A7]+
00003F86 6720 beq +0x22 /* 00003FA8 */
00003F88 2040 movea.l A0, D0
00003F8A 2050 movea.l A0, [A0]
00003F8C 3018 move.w D0, [A0]+
00003F8E 322E 0008 move.w D1, [A6 + 0x8]
00003F92 B240 cmp.w D1, D0
00003F94 6E12 bgt +0x14 /* 00003FA8 */
00003F96 7000 moveq.l D0, 0x00
label00003F98:
00003F98 5341 subq.w D1, 1
00003F9A 6706 beq +0x8 /* 00003FA2 */
00003F9C 1018 move.b D0, [A0]+
00003F9E D1C0 add.l A0, D0
00003FA0 60F6 bra -0x8 /* 00003F98 */
label00003FA2:
00003FA2 1010 move.b D0, [A0]
00003FA4 5240 addq.w D0, 1
00003FA6 A02E syscall BlockMove/BlockMoveData
label00003FA8:
00003FA8 4E5E unlink A6
00003FAA 205F movea.l A0, [A7]+
00003FAC 508F addq.l A7, 8
00003FAE 4ED0 jmp [A0]
fn00003FB0:
00003FB0 4E56 0000 link A6, 0
00003FB4 594F subq.w A7, 4
00003FB6 2F3C 5041 5423 move.l -[A7], 0x50415423 /* 'PAT#' */
00003FBC 3F2E 000A move.w -[A7], [A6 + 0xA]
00003FC0 A9A0 syscall GetResource
00003FC2 226E 000C movea.l A1, [A6 + 0xC]
00003FC6 201F move.l D0, [A7]+
00003FC8 671C beq +0x1E /* 00003FE6 */
00003FCA 2040 movea.l A0, D0
00003FCC 2050 movea.l A0, [A0]
00003FCE 3018 move.w D0, [A0]+
00003FD0 322E 0008 move.w D1, [A6 + 0x8]
00003FD4 6F10 ble +0x12 /* 00003FE6 */
00003FD6 B240 cmp.w D1, D0
00003FD8 6E0C bgt +0xE /* 00003FE6 */
label00003FDA:
00003FDA 5341 subq.w D1, 1
00003FDC 6704 beq +0x6 /* 00003FE2 */
00003FDE 5048 addq.w A0, 8
00003FE0 60F8 bra -0x6 /* 00003FDA */
label00003FE2:
00003FE2 7008 moveq.l D0, 0x08
00003FE4 A02E syscall BlockMove/BlockMoveData
label00003FE6:
00003FE6 4E5E unlink A6
00003FE8 205F movea.l A0, [A7]+
00003FEA 508F addq.l A7, 8
00003FEC 4ED0 jmp [A0]
fn00003FEE:
00003FEE 206F 000C movea.l A0, [A7 + 0xC]
00003FF2 2050 movea.l A0, [A0]
00003FF4 7003 moveq.l D0, 0x03
00003FF6 C028 0044 and.b D0, [A0 + 0x44]
00003FFA 72FC moveq.l D1, 0xFFFFFFFC
00003FFC C338 0946 and.b [0x00000946 /* ChooserBits */], D1
00004000 8138 0946 or.b [0x00000946 /* ChooserBits */], D0
00004004 223C 000C 0000 move.l D1, 0xC0000
0000400A 6016 bra +0x18 /* 00004022 */
fn0000400C:
0000400C 223C 0004 8004 move.l D1, 0x48004
00004012 600E bra +0x10 /* 00004022 */
fn00004014:
00004014 223C 0008 0008 move.l D1, 0x80008
0000401A 6006 bra +0x8 /* 00004022 */
fn0000401C:
0000401C 223C 0004 000C move.l D1, 0x4000C
label00004022:
00004022 7003 moveq.l D0, 0x03
00004024 C038 0946 and.b D0, [0x00000946 /* ChooserBits */]
00004028 605E bra +0x60 /* 00004088 */
0000402A 223C 0000 8000 move.l D1, 0x8000
00004030 7006 moveq.l D0, 0x06
00004032 6054 bra +0x56 /* 00004088 */
00004034 223C 000C 8000 move.l D1, 0xC8000
0000403A 7007 moveq.l D0, 0x07
0000403C 604A bra +0x4C /* 00004088 */
fn0000403E:
0000403E 223C 0004 8000 move.l D1, 0x48000
00004044 6036 bra +0x38 /* 0000407C */
00004046 223C 0004 8004 move.l D1, 0x48004
0000404C 602E bra +0x30 /* 0000407C */
fn0000404E:
0000404E 223C 0004 8008 move.l D1, 0x48008
00004054 6026 bra +0x28 /* 0000407C */
00004056 223C 0004 000C move.l D1, 0x4000C
0000405C 601E bra +0x20 /* 0000407C */
0000405E 223C 0004 0010 move.l D1, 0x40010
00004064 6016 bra +0x18 /* 0000407C */
00004066 223C 0008 8014 move.l D1, 0x88014
0000406C 600E bra +0x10 /* 0000407C */
0000406E 223C 0004 8018 move.l D1, 0x48018
00004074 6006 bra +0x8 /* 0000407C */
00004076 223C 0008 801C move.l D1, 0x8801C
label0000407C:
0000407C 7004 moveq.l D0, 0x04
0000407E 6008 bra +0xA /* 00004088 */
fn00004080:
00004080 223C 0014 8000 move.l D1, 0x148000
00004086 7005 moveq.l D0, 0x05
label00004088:
00004088 41FA 0050 lea.l A0, [PC + 0x50 /* 000040DA, value 0x0, cstring "" */]
0000408C 48D0 1810 movem.l [A0], D4,A3,A4
00004090 2801 move.l D4, D1
00004092 265F movea.l A3, [A7]+
00004094 598F subq.l A7, 4
00004096 2F3C 5044 4546 move.l -[A7], 0x50444546 /* 'PDEF' */
0000409C 3F00 move.w -[A7], D0
0000409E A9A0 syscall GetResource
000040A0 201F move.l D0, [A7]+
000040A2 672A beq +0x2C /* 000040CE */
000040A4 2840 movea.l A4, D0
000040A6 08D4 0007 bset.b [A4], 0x7
000040AA 2054 movea.l A0, [A4]
000040AC 7000 moveq.l D0, 0x00
000040AE 1004 move.b D0, D4
000040B0 D1C0 add.l A0, D0
000040B2 2F08 move.l -[A7], A0
000040B4 4217 clr.b [A7]
000040B6 205F movea.l A0, [A7]+
000040B8 4E90 jsr [A0]
000040BA 4A44 tst.w D4
000040BC 6A04 bpl +0x6 /* 000040C2 */
000040BE 0894 0007 bclr.b [A4], 0x7
label000040C2:
000040C2 224B movea.l A1, A3
000040C4 41FA 0014 lea.l A0, [PC + 0x14 /* 000040DA, value 0x0, cstring "" */]
000040C8 4CD0 1810 movem.l D4,A3,A4, [A0]
000040CC 4ED1 jmp [A1]
label000040CE:
000040CE 31FC FF40 0944 move.w [0x00000944 /* PrintErr */], 0xFF40
000040D4 4844 swap.w D4
000040D6 DEC4 add.w A7, D4
000040D8 60E8 bra -0x16 /* 000040C2 */
000040DA 0000 0000 ori.b D0, 0x0
000040DE 0000 0000 ori.b D0, 0x0
000040E2 0000 0000 ori.b D0, 0x0
fn000040E6:
000040E6 7018 moveq.l D0, 0x18
label000040E8:
000040E8 4267 clr.w -[A7]
000040EA 51C8 FFFC dbf D0, -0x6 /* 000040E8 */
000040EE 41FA 0014 lea.l A0, [PC + 0x14 /* 00004104, value 0x62E5072, pstring ".Print" */]
000040F2 2F48 0012 move.l [A7 + 0x12], A0
000040F6 204F movea.l A0, A7
000040F8 A000 syscall Open/PBHOpen/HOpen
label000040FA:
000040FA DEFC 0032 add.w A7, 0x32 /* '2' */
000040FE 31C0 0944 move.w [0x00000944 /* PrintErr */], D0
00004102 4E75 rts
00004104 062E 5072 696E addi.b [A6 + 0x696E], 0x72 /* 'r' */
0000410A 7420 moveq.l D2, 0x20
0000410C 9EFC 0032 sub.w A7, 0x32 /* '2' */
00004110 204F movea.l A0, A7
00004112 317C FFFD 0018 move.w [A0 + 0x18], 0xFFFD
00004118 A001 syscall Close
0000411A 60DE bra -0x20 /* 000040FA */
0000411C 205F movea.l A0, [A7]+
0000411E 225F movea.l A1, [A7]+
00004120 201F move.l D0, [A7]+
00004122 221F move.l D1, [A7]+
00004124 341F move.w D2, [A7]+
00004126 2F08 move.l -[A7], A0
00004128 9EFC 0032 sub.w A7, 0x32 /* '2' */
0000412C 3F42 001A move.w [A7 + 0x1A], D2
00004130 2F41 001C move.l [A7 + 0x1C], D1
00004134 2F40 0020 move.l [A7 + 0x20], D0
00004138 2F49 0024 move.l [A7 + 0x24], A1
0000413C 3F7C FFFD 0018 move.w [A7 + 0x18], 0xFFFD
00004142 204F movea.l A0, A7
00004144 A004 syscall Control
00004146 60B2 bra -0x4C /* 000040FA */
fn00004148:
00004148 619C bsr -0x62 /* 000040E6 */
0000414A 6636 bne +0x38 /* 00004182 */
0000414C 7200 moveq.l D1, 0x00
0000414E 6002 bra +0x4 /* 00004152 */
fn00004150:
00004150 7201 moveq.l D1, 0x01
label00004152:
00004152 594F subq.w A7, 4
00004154 2F3C 5354 5220 move.l -[A7], 0x53545220 /* 'STR ' */
0000415A 3F3C E000 move.w -[A7], 0xE000
0000415E A9A0 syscall GetResource
00004160 201F move.l D0, [A7]+
00004162 672C beq +0x2E /* 00004190 */
00004164 2240 movea.l A1, D0
00004166 554F subq.w A7, 2
00004168 08D1 0007 bset.b [A1], 0x7
0000416C 2F11 move.l -[A7], [A1]
0000416E A997 syscall OpenResFile
00004170 301F move.w D0, [A7]+
00004172 0891 0007 bclr.b [A1], 0x7
00004176 610C bsr +0xE /* 00004184 */
00004178 4A41 tst.w D1
0000417A 6706 beq +0x8 /* 00004182 */
0000417C 3F00 move.w -[A7], D0
0000417E A99A syscall CloseResFile
00004180 6102 bsr +0x4 /* 00004184 */
label00004182:
00004182 4E75 rts
fn00004184:
00004184 31F8 0A60 0944 move.w [0x00000944 /* PrintErr */], [0x00000A60 /* ResErr */]
0000418A 6702 beq +0x4 /* 0000418E */
0000418C 584F addq.w A7, 4
label0000418E:
0000418E 4E75 rts
label00004190:
00004190 31FC FF40 0944 move.w [0x00000944 /* PrintErr */], 0xFF40
00004196 4E75 rts
fn00004198:
00004198 3F78 0944 0004 move.w [A7 + 0x4], [0x00000944 /* PrintErr */]
0000419E 4E75 rts
000041A0 205F movea.l A0, [A7]+
000041A2 31DF 0944 move.w [0x00000944 /* PrintErr */], [A7]+
000041A6 4ED0 jmp [A0]
fn000041A8:
000041A8 4E56 FF00 link A6, -0x0100
000041AC 48E7 0100 movem.l -[A7], D7
000041B0 3E2E 0008 move.w D7, [A6 + 0x8]
000041B4 48C7 ext.l D7
000041B6 2F07 move.l -[A7], D7
000041B8 486E FF00 pea.l [A6 - 0x100]
000041BC 4EBA FD9A jsr [PC - 0x266 /* 00003F58 */]
000041C0 486E FF00 pea.l [A6 - 0x100]
000041C4 487A 0030 pea.l [PC + 0x30 /* 000041F6, value 0x4E56 'NV', cstring "" */]
000041C8 487A 002A pea.l [PC + 0x2A /* 000041F4, value 0x0, cstring "" */]
000041CC 487A 0024 pea.l [PC + 0x24 /* 000041F2, value 0x0, cstring "" */]
000041D0 A98B syscall ParamText
000041D2 558F subq.l A7, 2
000041D4 3F3C 00C7 move.w -[A7], 0xC7
000041D8 42A7 clr.l -[A7]
000041DA A987 syscall NoteAlert
000041DC 3E1F move.w D7, [A7]+
000041DE 3B47 ED1E move.w [A5 - 0x12E2], D7
000041E2 4278 0A9A clr.w [0x00000A9A /* ACount */]
000041E6 4CDF 0080 movem.l D7, [A7]+
000041EA 4E5E unlink A6
000041EC 205F movea.l A0, [A7]+
000041EE 548F addq.l A7, 2
000041F0 4ED0 jmp [A0]
000041F2 0000 0000 ori.b D0, 0x0
000041F6 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000041F8-000041FC
fn000041F8:
000041F8 4E56 FFFC link A6, -0x0004
// end alternate branch 000041F8-000041FC
fn000041F8: // (misaligned)
000041FA FFFC .invalid <<F/7/7>>
000041FC 48E7 0108 movem.l -[A7], D7,A4
00004200 486E FFFC pea.l [A6 - 0x4]
00004204 A874 syscall GetPort
00004206 286E 0008 movea.l A4, [A6 + 0x8]
0000420A 558F subq.l A7, 2
0000420C 3F2E 000C move.w -[A7], [A6 + 0xC]
00004210 42A7 clr.l -[A7]
00004212 A987 syscall NoteAlert
00004214 3E1F move.w D7, [A7]+
00004216 3887 move.w [A4], D7
00004218 4278 0A9A clr.w [0x00000A9A /* ACount */]
0000421C 2F2E FFFC move.l -[A7], [A6 - 0x4]
00004220 A873 syscall SetPort
00004222 4CDF 1080 movem.l D7,A4, [A7]+
00004226 4E5E unlink A6
00004228 205F movea.l A0, [A7]+
0000422A 5C8F addq.l A7, 6
0000422C 4ED0 jmp [A0]
fn0000422E:
0000422E 4E56 0000 link A6, 0
00004232 48E7 0138 movem.l -[A7], D7,A2,A3,A4
00004236 286E 0008 movea.l A4, [A6 + 0x8]
0000423A 266E 0008 movea.l A3, [A6 + 0x8]
0000423E 246E 0008 movea.l A2, [A6 + 0x8]
00004242 3E2B 000C move.w D7, [A3 + 0xC]
00004246 9E6A 0008 sub.w D7, [A2 + 0x8]
0000424A 3947 000C move.w [A4 + 0xC], D7
0000424E 286E 0008 movea.l A4, [A6 + 0x8]
00004252 426C 0008 clr.w [A4 + 0x8]
00004256 286E 0008 movea.l A4, [A6 + 0x8]
0000425A 266E 0008 movea.l A3, [A6 + 0x8]
0000425E 246E 0008 movea.l A2, [A6 + 0x8]
00004262 3E2B 000A move.w D7, [A3 + 0xA]
00004266 9E6A 0006 sub.w D7, [A2 + 0x6]
0000426A 3947 000A move.w [A4 + 0xA], D7
0000426E 286E 0008 movea.l A4, [A6 + 0x8]
00004272 426C 0006 clr.w [A4 + 0x6]
00004276 286E 0008 movea.l A4, [A6 + 0x8]
0000427A 266E 0008 movea.l A3, [A6 + 0x8]
0000427E 3E2B 000C move.w D7, [A3 + 0xC]
00004282 5347 subq.w D7, 1
00004284 48C7 ext.l D7
00004286 8FFC 0010 divs.w D7, 0x10
0000428A 5247 addq.w D7, 1
0000428C DE47 add.w D7, D7
0000428E 3947 0004 move.w [A4 + 0x4], D7
00004292 286E 0008 movea.l A4, [A6 + 0x8]
00004296 598F subq.l A7, 4
00004298 266E 0008 movea.l A3, [A6 + 0x8]
0000429C 246E 0008 movea.l A2, [A6 + 0x8]
000042A0 3E2B 000A move.w D7, [A3 + 0xA]
000042A4 CFEA 0004 muls.w D7, [A2 + 0x4]
000042A8 48C7 ext.l D7
000042AA 2F07 move.l -[A7], D7
000042AC 4EBA F938 jsr [PC - 0x6C8 /* 00003BE6 */]
000042B0 2E1F move.l D7, [A7]+
000042B2 2887 move.l [A4], D7
000042B4 4CDF 1C80 movem.l D7,A2,A3,A4, [A7]+
000042B8 4E5E unlink A6
000042BA 2E9F move.l [A7], [A7]+
000042BC 4E75 rts
fn000042BE:
000042BE 4E56 FFFC link A6, -0x0004
000042C2 48E7 0318 movem.l -[A7], D6,D7,A3,A4
000042C6 598F subq.l A7, 4
000042C8 2F3A 006C move.l -[A7], [PC + 0x6C /* 00004336, value 0x6E726374 'nrct' */]
000042CC 3F2E 000A move.w -[A7], [A6 + 0xA]
000042D0 A9A0 syscall GetResource
000042D2 2E1F move.l D7, [A7]+
000042D4 2D47 FFFC move.l [A6 - 0x4], D7
000042D8 286E FFFC movea.l A4, [A6 - 0x4]
000042DC 2854 movea.l A4, [A4]
000042DE 3E2E 0008 move.w D7, [A6 + 0x8]
000042E2 BE54 cmp.w D7, [A4]
000042E4 5EC7 sgt D7
000042E6 4407 neg.b D7
000042E8 4AAE FFFC tst.l [A6 - 0x4]
000042EC 57C6 seq D6
000042EE 4406 neg.b D6
000042F0 8C07 or.b D6, D7
000042F2 6700 0016 beq +0x18 /* 0000430A */
000042F6 286E 000C movea.l A4, [A6 + 0xC]
000042FA 2F0C move.l -[A7], A4
000042FC 4267 clr.w -[A7]
000042FE 4267 clr.w -[A7]
00004300 4267 clr.w -[A7]
00004302 4267 clr.w -[A7]
00004304 A8A7 syscall SetRect
00004306 4EFA 0022 jmp [PC + 0x22 /* 0000432A */]
label0000430A:
0000430A 286E 000C movea.l A4, [A6 + 0xC]
0000430E 266E FFFC movea.l A3, [A6 - 0x4]
00004312 2653 movea.l A3, [A3]
00004314 3E2E 0008 move.w D7, [A6 + 0x8]
00004318 5347 subq.w D7, 1
0000431A E74F lsl D7.w, 3
0000431C 47EB 0002 lea.l A3, [A3 + 0x2]
00004320 28B3 7000 move.l [A4], [A3 + D7.w]
00004324 2973 7004 0004 move.l [A4 + 0x4], [A3 + D7.w + 0x4]
label0000432A:
0000432A 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+
0000432E 4E5E unlink A6
00004330 205F movea.l A0, [A7]+
00004332 508F addq.l A7, 8
00004334 4ED0 jmp [A0]
00004336 6E72 bgt +0x74 /* 000043AA */
00004338 6374 bls +0x76 /* 000043AE */
fn0000433A:
0000433A 4E56 FFF0 link A6, -0x0010
0000433E 48E7 0108 movem.l -[A7], D7,A4
00004342 286E 000C movea.l A4, [A6 + 0xC]
00004346 2D54 FFF0 move.l [A6 - 0x10], [A4]
0000434A 2D6C 0004 FFF4 move.l [A6 - 0xC], [A4 + 0x4]
00004350 286E 0008 movea.l A4, [A6 + 0x8]
00004354 2D54 FFF8 move.l [A6 - 0x8], [A4]
00004358 2D6C 0004 FFFC move.l [A6 - 0x4], [A4 + 0x4]
0000435E 1D7C 0001 0010 move.b [A6 + 0x10], 0x1
00004364 3E2E FFF2 move.w D7, [A6 - 0xE]
00004368 BE6E FFFE cmp.w D7, [A6 - 0x2]
0000436C 6D00 0006 blt +0x8 /* 00004374 */
00004370 422E 0010 clr.b [A6 + 0x10]
label00004374:
00004374 3E2E FFF6 move.w D7, [A6 - 0xA]
00004378 BE6E FFFA cmp.w D7, [A6 - 0x6]
0000437C 6E00 0006 bgt +0x8 /* 00004384 */
00004380 422E 0010 clr.b [A6 + 0x10]
label00004384:
00004384 3E2E FFF0 move.w D7, [A6 - 0x10]
00004388 BE6E FFFC cmp.w D7, [A6 - 0x4]
0000438C 6D00 0006 blt +0x8 /* 00004394 */
00004390 422E 0010 clr.b [A6 + 0x10]
label00004394:
00004394 3E2E FFF4 move.w D7, [A6 - 0xC]
00004398 BE6E FFF8 cmp.w D7, [A6 - 0x8]
0000439C 6E00 0006 bgt +0x8 /* 000043A4 */
000043A0 422E 0010 clr.b [A6 + 0x10]
label000043A4:
000043A4 4CDF 1080 movem.l D7,A4, [A7]+
000043A8 4E5E unlink A6
label000043AA:
000043AA 205F movea.l A0, [A7]+
000043AC 508F addq.l A7, 8
label000043AE:
000043AE 4ED0 jmp [A0]
fn000043B0:
000043B0 4E56 0000 link A6, 0
000043B4 48E7 0108 movem.l -[A7], D7,A4
000043B8 286D EA3C movea.l A4, [A5 - 0x15C4]
000043BC 296E 0010 0020 move.l [A4 + 0x20], [A6 + 0x10]
000043C2 286D EA3C movea.l A4, [A5 - 0x15C4]
000043C6 296E 000C 0024 move.l [A4 + 0x24], [A6 + 0xC]
label000043CC:
000043CC 598F subq.l A7, 4
000043CE A975 syscall TickCount
000043D0 2E1F move.l D7, [A7]+
000043D2 BEAE 0008 cmp.l D7, [A6 + 0x8]
000043D6 6F00 FFF4 ble -0xA /* 000043CC */
000043DA 558F subq.l A7, 2
000043DC 2F2D EA3C move.l -[A7], [A5 - 0x15C4]
000043E0 1F3C 0001 move.b -[A7], 0x1
000043E4 4EBA F8A6 jsr [PC - 0x75A /* 00003C8C */]
000043E8 3E1F move.w D7, [A7]+
000043EA 3B47 EA26 move.w [A5 - 0x15DA], D7
000043EE 4CDF 1080 movem.l D7,A4, [A7]+
000043F2 4E5E unlink A6
000043F4 205F movea.l A0, [A7]+
000043F6 4FEF 000C lea.l A7, [A7 + 0xC]
000043FA 4ED0 jmp [A0]
fn000043FC:
000043FC 4E56 0000 link A6, 0
00004400 48E7 0100 movem.l -[A7], D7
00004404 4A2D EA28 tst.b [A5 - 0x15D8]
00004408 6700 0028 beq +0x2A /* 00004432 */
0000440C 558F subq.l A7, 2
0000440E 2F2D EA3C move.l -[A7], [A5 - 0x15C4]
00004412 4227 clr.b -[A7]
00004414 4EBA F888 jsr [PC - 0x778 /* 00003C9E */]
00004418 3E1F move.w D7, [A7]+
0000441A 3B47 EA26 move.w [A5 - 0x15DA], D7
0000441E 2F2D EA30 move.l -[A7], [A5 - 0x15D0]
00004422 2F2D EA2C move.l -[A7], [A5 - 0x15D4]
00004426 598F subq.l A7, 4
00004428 A975 syscall TickCount
0000442A 2E1F move.l D7, [A7]+
0000442C 2F07 move.l -[A7], D7
0000442E 4EBA FF80 jsr [PC - 0x80 /* 000043B0 */]
label00004432:
00004432 4CDF 0080 movem.l D7, [A7]+
00004436 4E5E unlink A6
00004438 4E75 rts
fn0000443A:
0000443A 4E56 0000 link A6, 0
0000443E 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
00004442 2B7C 0000 05CE EA2C move.l [A5 - 0x15D4], 0x5CE
0000444A 1E3C 0000 move.b D7, 0x0
0000444E 1B47 EA2A move.b [A5 - 0x15D6], D7
00004452 0C07 0000 cmpi.b D7, 0x0
00004456 6E00 007C bgt +0x7E /* 000044D4 */
label0000445A:
0000445A 598F subq.l A7, 4
0000445C 4246 clr.w D6
0000445E 1C07 move.b D6, D7
00004460 E54E lsl D6.w, 2
00004462 49ED EA2C lea.l A4, [A5 - 0x15D4]
00004466 2F34 6000 move.l -[A7], [A4 + D6.w]
0000446A 4EBA F7B0 jsr [PC - 0x850 /* 00003C1C */]
0000446E 2C1F move.l D6, [A7]+
00004470 2B46 EA38 move.l [A5 - 0x15C8], D6
00004474 2F2D EA38 move.l -[A7], [A5 - 0x15C8]
00004478 4EBA F7D8 jsr [PC - 0x828 /* 00003C52 */]
0000447C 286D EA38 movea.l A4, [A5 - 0x15C8]
00004480 2B54 EA34 move.l [A5 - 0x15CC], [A4]
00004484 4246 clr.w D6
00004486 1C07 move.b D6, D7
00004488 E54E lsl D6.w, 2
0000448A 49ED EA30 lea.l A4, [A5 - 0x15D0]
0000448E 29AD EA34 6000 move.l [A4 + D6.w], [A5 - 0x15CC]
00004494 4246 clr.w D6
00004496 1C07 move.b D6, D7
00004498 E54E lsl D6.w, 2
0000449A 49ED EA30 lea.l A4, [A5 - 0x15D0]
0000449E 2874 6000 movea.l A4, [A4 + D6.w]
000044A2 4254 clr.w [A4]
000044A4 4246 clr.w D6
000044A6 1C07 move.b D6, D7
000044A8 E54E lsl D6.w, 2
000044AA 49ED EA2C lea.l A4, [A5 - 0x15D4]
000044AE 4245 clr.w D5
000044B0 1A07 move.b D5, D7
000044B2 E54D lsl D5.w, 2
000044B4 47ED EA2C lea.l A3, [A5 - 0x15D4]
000044B8 2833 5000 move.l D4, [A3 + D5.w]
000044BC 5F84 subq.l D4, 7
000044BE 2984 6000 move.l [A4 + D6.w], D4
000044C2 0C07 0000 cmpi.b D7, 0x0
000044C6 6C00 000C bge +0xE /* 000044D4 */
000044CA 5207 addq.b D7, 1
000044CC 1B47 EA2A move.b [A5 - 0x15D6], D7
000044D0 4EFA FF88 jmp [PC - 0x78 /* 0000445A */]
label000044D4:
000044D4 286D EA30 movea.l A4, [A5 - 0x15D0]
000044D8 598F subq.l A7, 4
000044DA 3F3C 0001 move.w -[A7], 0x1
000044DE 3F3C 0002 move.w -[A7], 0x2
000044E2 A869 syscall FixRatio
000044E4 2E1F move.l D7, [A7]+
000044E6 2947 0002 move.l [A4 + 0x2], D7
000044EA 426D FF2C clr.w [A5 - 0xD4]
label000044EE:
000044EE 3E2D FF2C move.w D7, [A5 - 0xD4]
000044F2 48C7 ext.l D7
000044F4 BEAD EA2C cmp.l D7, [A5 - 0x15D4]
000044F8 6E00 00A4 bgt +0xA6 /* 0000459E */
000044FC 0C6D 0172 FF2C cmpi.w [A5 - 0xD4], 0x172
00004502 6F00 004C ble +0x4E /* 00004550 */
00004506 3E2D FF2C move.w D7, [A5 - 0xD4]
0000450A 48C7 ext.l D7
0000450C 8FFC 0040 divs.w D7, 0x40 /* '@' */
00004510 4847 swap.w D7
00004512 4A47 tst.w D7
00004514 6600 0016 bne +0x18 /* 0000452C */
00004518 3E2D FF2C move.w D7, [A5 - 0xD4]
0000451C 48C7 ext.l D7
0000451E 8FFC 000C divs.w D7, 0xC
00004522 3C3C 00FF move.w D6, 0xFF
00004526 9C47 sub.w D6, D7
00004528 3B46 FF28 move.w [A5 - 0xD8], D6
label0000452C:
0000452C 3E2D FF2C move.w D7, [A5 - 0xD4]
00004530 48C7 ext.l D7
00004532 8FFC 0080 divs.w D7, 0x80
00004536 4847 swap.w D7
00004538 4A47 tst.w D7
0000453A 6600 0010 bne +0x12 /* 0000454C */
0000453E 3E2D FF2C move.w D7, [A5 - 0xD4]
00004542 48C7 ext.l D7
00004544 8FFC 000C divs.w D7, 0xC
00004548 3B47 FF28 move.w [A5 - 0xD8], D7
label0000454C:
0000454C 4EFA 0034 jmp [PC + 0x34 /* 00004582 */]
label00004550:
00004550 3E2D FF2C move.w D7, [A5 - 0xD4]
00004554 48C7 ext.l D7
00004556 8FFC 0040 divs.w D7, 0x40 /* '@' */
0000455A 4847 swap.w D7
0000455C 4A47 tst.w D7
0000455E 6600 0022 bne +0x24 /* 00004582 */
00004562 3E2D FF2C move.w D7, [A5 - 0xD4]
00004566 48C7 ext.l D7
00004568 8FFC 0080 divs.w D7, 0x80
0000456C 4847 swap.w D7
0000456E 4A47 tst.w D7
00004570 6600 000A bne +0xC /* 0000457C */
00004574 426D FF28 clr.w [A5 - 0xD8]
00004578 4EFA 0008 jmp [PC + 0x8 /* 00004582 */]
label0000457C:
0000457C 3B7C 00FF FF28 move.w [A5 - 0xD8], 0xFF
label00004582:
00004582 286D EA30 movea.l A4, [A5 - 0x15D0]
00004586 3E2D FF2C move.w D7, [A5 - 0xD4]
0000458A 49EC 0006 lea.l A4, [A4 + 0x6]
0000458E 3C2D FF28 move.w D6, [A5 - 0xD8]
00004592 1986 7000 move.b [A4 + D7.w], D6
00004596 526D FF2C addq.w [A5 - 0xD4], 1
0000459A 4EFA FF52 jmp [PC - 0xAE /* 000044EE */]
label0000459E:
0000459E 486D EA3C pea.l [A5 - 0x15C4]
000045A2 3F3C 0050 move.w -[A7], 0x50 /* 'P' */
000045A6 4EBA F512 jsr [PC - 0xAEE /* 00003ABA */]
000045AA 286D EA3C movea.l A4, [A5 - 0x15C4]
000045AE 42AC 000C clr.l [A4 + 0xC]
000045B2 397C FFFC 0018 move.w [A4 + 0x18], 0xFFFC
000045B8 426C 0010 clr.w [A4 + 0x10]
000045BC 4CDF 18F0 movem.l D4,D5,D6,D7,A3,A4, [A7]+
000045C0 4E5E unlink A6
000045C2 4E75 rts
fn000045C4:
000045C4 4E56 0000 link A6, 0
000045C8 48E7 0100 movem.l -[A7], D7
000045CC 3F2D E9C8 move.w -[A7], [A5 - 0x1638]
000045D0 A998 syscall UseResFile
000045D2 2F2D E9DC move.l -[A7], [A5 - 0x1624]
000045D6 A9AA syscall ChangedResource
000045D8 558F subq.l A7, 2
000045DA A9AF syscall ResError
000045DC 3E1F move.w D7, [A7]+
000045DE 4A47 tst.w D7
000045E0 6600 0008 bne +0xA /* 000045EA */
000045E4 2F2D E9DC move.l -[A7], [A5 - 0x1624]
000045E8 A9B0 syscall WriteResource
label000045EA:
000045EA 4CDF 0080 movem.l D7, [A7]+
000045EE 4E5E unlink A6
000045F0 4E75 rts
fn000045F2:
000045F2 4E56 0000 link A6, 0
000045F6 48E7 0308 movem.l -[A7], D6,D7,A4
000045FA 286D E9DC movea.l A4, [A5 - 0x1624]
000045FE 2854 movea.l A4, [A4]
00004600 2E14 move.l D7, [A4]
00004602 5887 addq.l D7, 4
00004604 286D E9DC movea.l A4, [A5 - 0x1624]
00004608 2854 movea.l A4, [A4]
0000460A 2C2C 0004 move.l D6, [A4 + 0x4]
0000460E 0686 0000 000E addi.l D6, 0xE
00004614 598F subq.l A7, 4
00004616 2F07 move.l -[A7], D7
00004618 2F06 move.l -[A7], D6
0000461A 4EBA F4B2 jsr [PC - 0xB4E /* 00003ACE */]
0000461E 2E1F move.l D7, [A7]+
00004620 286D E9DC movea.l A4, [A5 - 0x1624]
00004624 2854 movea.l A4, [A4]
00004626 2C2C 0008 move.l D6, [A4 + 0x8]
0000462A 0686 0000 0018 addi.l D6, 0x18
00004630 598F subq.l A7, 4
00004632 2F07 move.l -[A7], D7
00004634 2F06 move.l -[A7], D6
00004636 4EBA F496 jsr [PC - 0xB6A /* 00003ACE */]
0000463A 2E1F move.l D7, [A7]+
0000463C 2D47 0008 move.l [A6 + 0x8], D7
00004640 4CDF 10C0 movem.l D6,D7,A4, [A7]+
00004644 4E5E unlink A6
00004646 4E75 rts
fn00004648:
00004648 4E56 FEF2 link A6, -0x010E
0000464C 48E7 0100 movem.l -[A7], D7
00004650 2F2D EB7E move.l -[A7], [A5 - 0x1482]
00004654 3F3C 0006 move.w -[A7], 0x6
00004658 486E FEFA pea.l [A6 - 0x106]
0000465C 486E FEFC pea.l [A6 - 0x104]
00004660 486E FEF2 pea.l [A6 - 0x10E]
00004664 A98D syscall GetDialogItem/GetDItem
00004666 2F2E FEFC move.l -[A7], [A6 - 0x104]
0000466A 3F3C 00FF move.w -[A7], 0xFF
0000466E A95D syscall HiliteControl
00004670 2F2D EB7E move.l -[A7], [A5 - 0x1482]
00004674 3F3C 000A move.w -[A7], 0xA /* '\n' */
00004678 486E FEFA pea.l [A6 - 0x106]
0000467C 486E FEFC pea.l [A6 - 0x104]
00004680 486E FEF2 pea.l [A6 - 0x10E]
00004684 A98D syscall GetDialogItem/GetDItem
00004686 486E FF00 pea.l [A6 - 0x100]
0000468A 3F3C 03E8 move.w -[A7], 0x3E8
0000468E 3F3C 0001 move.w -[A7], 0x1
00004692 4EBA F8D8 jsr [PC - 0x728 /* 00003F6C */]
00004696 2F2E FEFC move.l -[A7], [A6 - 0x104]
0000469A 486E FF00 pea.l [A6 - 0x100]
0000469E A98F syscall SetDialogItemText/SetIText
000046A0 2F2D EB7E move.l -[A7], [A5 - 0x1482]
000046A4 3F3C 0005 move.w -[A7], 0x5
000046A8 486E FEFA pea.l [A6 - 0x106]
000046AC 486E FEFC pea.l [A6 - 0x104]
000046B0 486E FEF2 pea.l [A6 - 0x10E]
000046B4 A98D syscall GetDialogItem/GetDItem
000046B6 2F2E FEFC move.l -[A7], [A6 - 0x104]
000046BA 487A 001C pea.l [PC + 0x1C /* 000046D8, value 0x154C4F43, pstring "LOCK FOR DISTRIBUTION" */]
000046BE A95F syscall SetControlTitle/SetCTitle
000046C0 2B6D E9C0 ED14 move.l [A5 - 0x12EC], [A5 - 0x1640]
000046C6 2B6D E9C4 ED18 move.l [A5 - 0x12E8], [A5 - 0x163C]
000046CC 422D E9B2 clr.b [A5 - 0x164E]
000046D0 4CDF 0080 movem.l D7, [A7]+
000046D4 4E5E unlink A6
000046D6 4E75 rts
000046D8 154C 4F43 move.b [A2 + 0x4F43], A4
000046DC 4B20 .invalid 5, -[A0] // invalid opcode 4 with b == 4
000046DE 464F not.w A7
000046E0 5220 addq.b -[A0], 1
000046E2 4449 neg.w A1
000046E4 5354 subq.w [A4], 1
000046E6 5249 addq.w A1, 1
000046E8 4255 clr.w [A5]
000046EA 5449 addq.w A1, 2
000046EC 4F4E chk.w D7, A6
fn000046EE:
000046EE 4E56 0000 link A6, 0
000046F2 48E7 0308 movem.l -[A7], D6,D7,A4
000046F6 3F2D E9C8 move.w -[A7], [A5 - 0x1638]
000046FA A998 syscall UseResFile
000046FC 598F subq.l A7, 4
000046FE 3F3C 0C12 move.w -[A7], 0xC12
00004702 A9BC syscall GetPicture
00004704 2E1F move.l D7, [A7]+
00004706 2B47 E9B4 move.l [A5 - 0x164C], D7
0000470A 598F subq.l A7, 4
0000470C 3F3C 0C13 move.w -[A7], 0xC13
00004710 A9BC syscall GetPicture
00004712 2E1F move.l D7, [A7]+
00004714 2B47 E9B8 move.l [A5 - 0x1648], D7
00004718 598F subq.l A7, 4
0000471A 2F3A 00B8 move.l -[A7], [PC + 0xB8 /* 000047D4, value 0x5A595441 'ZYTA' */]
0000471E 3F3C 0080 move.w -[A7], 0x80
00004722 A9A0 syscall GetResource
00004724 2E1F move.l D7, [A7]+
00004726 2B47 E9DC move.l [A5 - 0x1624], D7
0000472A 558F subq.l A7, 2
0000472C A9AF syscall ResError
0000472E 3E1F move.w D7, [A7]+
00004730 4A47 tst.w D7
00004732 6600 008E bne +0x90 /* 000047C2 */
00004736 286D E9DC movea.l A4, [A5 - 0x1624]
0000473A 2854 movea.l A4, [A4]
0000473C 4A94 tst.l [A4]
0000473E 6600 0046 bne +0x48 /* 00004786 */
00004742 486D E9CA pea.l [A5 - 0x1636]
00004746 4EBA F534 jsr [PC - 0xACC /* 00003C7C */]
0000474A 286D E9DC movea.l A4, [A5 - 0x1624]
0000474E 2854 movea.l A4, [A4]
00004750 3E2D E9CC move.w D7, [A5 - 0x1634]
00004754 48C7 ext.l D7
00004756 2887 move.l [A4], D7
00004758 286D E9DC movea.l A4, [A5 - 0x1624]
0000475C 2854 movea.l A4, [A4]
0000475E 3E2D E9CE move.w D7, [A5 - 0x1632]
00004762 48C7 ext.l D7
00004764 2947 0004 move.l [A4 + 0x4], D7
00004768 286D E9DC movea.l A4, [A5 - 0x1624]
0000476C 2854 movea.l A4, [A4]
0000476E 3E2D E9D4 move.w D7, [A5 - 0x162C]
00004772 48C7 ext.l D7
00004774 2947 0008 move.l [A4 + 0x8], D7
00004778 286D E9DC movea.l A4, [A5 - 0x1624]
0000477C 2854 movea.l A4, [A4]
0000477E 42AC 000C clr.l [A4 + 0xC]
00004782 4EBA FE40 jsr [PC - 0x1C0 /* 000045C4 */]
label00004786:
00004786 286D E9DC movea.l A4, [A5 - 0x1624]
0000478A 2854 movea.l A4, [A4]
0000478C 598F subq.l A7, 4
0000478E 4EBA FE62 jsr [PC - 0x19E /* 000045F2 */]
00004792 2E1F move.l D7, [A7]+
00004794 2C2C 000C move.l D6, [A4 + 0xC]
00004798 BC87 cmp.l D6, D7
0000479A 6600 000A bne +0xC /* 000047A6 */
0000479E 422D E9B2 clr.b [A5 - 0x164E]
000047A2 4EFA 0008 jmp [PC + 0x8 /* 000047AC */]
label000047A6:
000047A6 1B7C 0001 E9B2 move.b [A5 - 0x164E], 0x1
label000047AC:
000047AC 598F subq.l A7, 4
000047AE 2F3A 0020 move.l -[A7], [PC + 0x20 /* 000047D0, value 0x5A595441 'ZYTA' */]
000047B2 3F3C 0081 move.w -[A7], 0x81
000047B6 A9A0 syscall GetResource
000047B8 2E1F move.l D7, [A7]+
000047BA 2B47 E9BC move.l [A5 - 0x1644], D7
000047BE 4EFA 0008 jmp [PC + 0x8 /* 000047C8 */]
label000047C2:
000047C2 1B7C 0001 F9AC move.b [A5 - 0x654], 0x1
label000047C8:
000047C8 4CDF 10C0 movem.l D6,D7,A4, [A7]+
000047CC 4E5E unlink A6
000047CE 4E75 rts
000047D0 5A59 addq.w [A1]+, 5
000047D2 5441 addq.w D1, 2
000047D4 5A59 addq.w [A1]+, 5
000047D6 5441 addq.w D1, 2
fn000047D8:
000047D8 4E56 FFF2 link A6, -0x000E
000047DC 48E7 0108 movem.l -[A7], D7,A4
000047E0 3F3C 0003 move.w -[A7], 0x3
000047E4 3F3C 0003 move.w -[A7], 0x3
000047E8 A89B syscall PenSize
000047EA 4247 clr.w D7
000047EC 1E2E 0008 move.b D7, [A6 + 0x8]
000047F0 E54F lsl D7.w, 2
000047F2 49ED EB6A lea.l A4, [A5 - 0x1496]
000047F6 2F34 7000 move.l -[A7], [A4 + D7.w]
000047FA 3F3C 0001 move.w -[A7], 0x1
000047FE 486E FFFA pea.l [A6 - 0x6]
00004802 486E FFFC pea.l [A6 - 0x4]
00004806 486E FFF2 pea.l [A6 - 0xE]
0000480A A98D syscall GetDialogItem/GetDItem
0000480C 486E FFF2 pea.l [A6 - 0xE]
00004810 3F3C FFFC move.w -[A7], 0xFFFC
00004814 3F3C FFFC move.w -[A7], 0xFFFC
00004818 A8A9 syscall InsetRect
0000481A 486E FFF2 pea.l [A6 - 0xE]
0000481E 3F3C 0010 move.w -[A7], 0x10
00004822 3F3C 0010 move.w -[A7], 0x10
00004826 A8B0 syscall FrameRoundRect
00004828 3F3C 0001 move.w -[A7], 0x1
0000482C 3F3C 0001 move.w -[A7], 0x1
00004830 A89B syscall PenSize
00004832 4CDF 1080 movem.l D7,A4, [A7]+
00004836 4E5E unlink A6
00004838 205F movea.l A0, [A7]+
0000483A 548F addq.l A7, 2
0000483C 4ED0 jmp [A0]
fn0000483E:
0000483E 4E56 FFE6 link A6, -0x001A
00004842 48E7 0108 movem.l -[A7], D7,A4
00004846 486E FFE6 pea.l [A6 - 0x1A]
0000484A A874 syscall GetPort
0000484C 598F subq.l A7, 4
0000484E 3F3C 0087 move.w -[A7], 0x87
00004852 42A7 clr.l -[A7]
00004854 2F3C FFFF FFFF move.l -[A7], 0xFFFFFFFF
0000485A A97C syscall GetNewDialog
0000485C 2E1F move.l D7, [A7]+
0000485E 2B47 EB86 move.l [A5 - 0x147A], D7
00004862 2F2D EB86 move.l -[A7], [A5 - 0x147A]
00004866 A915 syscall ShowWindow
00004868 2F2D EB86 move.l -[A7], [A5 - 0x147A]
0000486C A91F syscall SelectWindow
0000486E 2F2D EB86 move.l -[A7], [A5 - 0x147A]
00004872 A873 syscall SetPort
00004874 286D EB86 movea.l A4, [A5 - 0x147A]
00004878 486C 0010 pea.l [A4 + 0x10]
0000487C A87B syscall ClipRect
0000487E 598F subq.l A7, 4
00004880 2F3A 0094 move.l -[A7], [PC + 0x94 /* 00004916, value 0x54425546 'TBUF' */]
00004884 3F3C 082E move.w -[A7], 0x82E
00004888 A9A0 syscall GetResource
0000488A 2E1F move.l D7, [A7]+
0000488C 2B47 E9D8 move.l [A5 - 0x1628], D7
00004890 2F2D E9D8 move.l -[A7], [A5 - 0x1628]
00004894 4EBA F3BC jsr [PC - 0xC44 /* 00003C52 */]
00004898 3F3C 0003 move.w -[A7], 0x3
0000489C A887 syscall TextFont
0000489E 3F3C 0009 move.w -[A7], 0x9 /* '\t' */
000048A2 A88A syscall TextSize
000048A4 286D EB86 movea.l A4, [A5 - 0x147A]
000048A8 2D6C 0010 FFF0 move.l [A6 - 0x10], [A4 + 0x10]
000048AE 2D6C 0014 FFF4 move.l [A6 - 0xC], [A4 + 0x14]
000048B4 486E FFF0 pea.l [A6 - 0x10]
000048B8 3F3C 0004 move.w -[A7], 0x4
000048BC 3F3C 0005 move.w -[A7], 0x5
000048C0 A8A9 syscall InsetRect
000048C2 286D E9D8 movea.l A4, [A5 - 0x1628]
000048C6 2F14 move.l -[A7], [A4]
000048C8 598F subq.l A7, 4
000048CA 2F2D E9D8 move.l -[A7], [A5 - 0x1628]
000048CE 4EBA F362 jsr [PC - 0xC9E /* 00003C32 */]
000048D2 2E1F move.l D7, [A7]+
000048D4 2F07 move.l -[A7], D7
000048D6 486E FFF0 pea.l [A6 - 0x10]
000048DA 4267 clr.w -[A7]
000048DC A9CE syscall TETextBox/TextBox
000048DE 2F2D E9D8 move.l -[A7], [A5 - 0x1628]
000048E2 4EBA F378 jsr [PC - 0xC88 /* 00003C5C */]
000048E6 1F3C 0007 move.b -[A7], 0x7
000048EA 4EBA FEEC jsr [PC - 0x114 /* 000047D8 */]
000048EE 42A7 clr.l -[A7]
000048F0 486E FFEA pea.l [A6 - 0x16]
000048F4 A991 syscall ModalDialog
000048F6 2F2D EB86 move.l -[A7], [A5 - 0x147A]
000048FA A916 syscall HideWindow
000048FC 2F2D E9D8 move.l -[A7], [A5 - 0x1628]
00004900 A9A3 syscall ReleaseResource
00004902 2F2D EB86 move.l -[A7], [A5 - 0x147A]
00004906 A983 syscall DisposeDialog
00004908 2F2E FFE6 move.l -[A7], [A6 - 0x1A]
0000490C A873 syscall SetPort
0000490E 4CDF 1080 movem.l D7,A4, [A7]+
00004912 4E5E unlink A6
00004914 4E75 rts
00004916 5442 addq.w D2, 2
00004918 5546 subq.w D6, 2
fn0000491A:
0000491A 4E56 FFF8 link A6, -0x0008
0000491E 48E7 0100 movem.l -[A7], D7
00004922 2F2D E9F6 move.l -[A7], [A5 - 0x160A]
00004926 486D E9FA pea.l [A5 - 0x1606]
0000492A A8F6 syscall DrawPicture
0000492C 2D6D E9FA FFF8 move.l [A6 - 0x8], [A5 - 0x1606]
00004932 2D6D E9FE FFFC move.l [A6 - 0x4], [A5 - 0x1602]
00004938 486E FFF8 pea.l [A6 - 0x8]
0000493C 3F3C 000A move.w -[A7], 0xA /* '\n' */
00004940 3F3C 000A move.w -[A7], 0xA /* '\n' */
00004944 A8A8 syscall OffsetRect
00004946 3F2D EA00 move.w -[A7], [A5 - 0x1600]
0000494A 3F2D E9FA move.w -[A7], [A5 - 0x1606]
0000494E A893 syscall MoveTo
00004950 3F2E FFFE move.w -[A7], [A6 - 0x2]
00004954 3F2E FFF8 move.w -[A7], [A6 - 0x8]
00004958 A891 syscall LineTo
0000495A 3F2E FFFE move.w -[A7], [A6 - 0x2]
0000495E 3F2E FFFC move.w -[A7], [A6 - 0x4]
00004962 A891 syscall LineTo
00004964 3F2E FFFA move.w -[A7], [A6 - 0x6]
00004968 3F2E FFFC move.w -[A7], [A6 - 0x4]
0000496C A891 syscall LineTo
0000496E 3F2D E9FC move.w -[A7], [A5 - 0x1604]
00004972 3F2D E9FE move.w -[A7], [A5 - 0x1602]
00004976 A891 syscall LineTo
00004978 3F2D EA00 move.w -[A7], [A5 - 0x1600]
0000497C 3F2D E9FE move.w -[A7], [A5 - 0x1602]
00004980 A893 syscall MoveTo
00004982 3F2E FFFE move.w -[A7], [A6 - 0x2]
00004986 3F2E FFFC move.w -[A7], [A6 - 0x4]
0000498A A891 syscall LineTo
0000498C 4CDF 0080 movem.l D7, [A7]+
00004990 4E5E unlink A6
00004992 4E75 rts
fn00004994:
00004994 4E56 FF9C link A6, -0x0064
00004998 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
0000499C 3E3C 0001 move.w D7, 0x1
000049A0 3D47 FFF8 move.w [A6 - 0x8], D7
000049A4 0C47 000E cmpi.w D7, 0xE
000049A8 6E00 0046 bgt +0x48 /* 000049F0 */
label000049AC:
000049AC 486E FFB0 pea.l [A6 - 0x50]
000049B0 3F3C 03E7 move.w -[A7], 0x3E7
000049B4 3F07 move.w -[A7], D7
000049B6 4EBA F906 jsr [PC - 0x6FA /* 000042BE */]
000049BA 3C07 move.w D6, D7
000049BC 5346 subq.w D6, 1
000049BE E54E lsl D6.w, 2
000049C0 49ED FD68 lea.l A4, [A5 - 0x298]
000049C4 29AE FFB0 6000 move.l [A4 + D6.w], [A6 - 0x50]
000049CA 3C07 move.w D6, D7
000049CC 0646 000E addi.w D6, 0xE
000049D0 5346 subq.w D6, 1
000049D2 E54E lsl D6.w, 2
000049D4 49ED FD68 lea.l A4, [A5 - 0x298]
000049D8 29AE FFB4 6000 move.l [A4 + D6.w], [A6 - 0x4C]
000049DE 0C47 000E cmpi.w D7, 0xE
000049E2 6C00 000C bge +0xE /* 000049F0 */
000049E6 5247 addq.w D7, 1
000049E8 3D47 FFF8 move.w [A6 - 0x8], D7
000049EC 4EFA FFBE jmp [PC - 0x42 /* 000049AC */]
label000049F0:
000049F0 486E FFB0 pea.l [A6 - 0x50]
000049F4 4267 clr.w -[A7]
000049F6 4267 clr.w -[A7]
000049F8 4267 clr.w -[A7]
000049FA 4267 clr.w -[A7]
000049FC A8A7 syscall SetRect
000049FE 486E FFAC pea.l [A6 - 0x54]
00004A02 3F3C 00C2 move.w -[A7], 0xC2
00004A06 3F3C 001A move.w -[A7], 0x1A
00004A0A A880 syscall SetPt
00004A0C 3E3C 0001 move.w D7, 0x1
00004A10 3D47 FFF8 move.w [A6 - 0x8], D7
00004A14 0C47 001B cmpi.w D7, 0x1B
00004A18 6E00 00CA bgt +0xCC /* 00004AE4 */
label00004A1C:
00004A1C 2F2E FFAC move.l -[A7], [A6 - 0x54]
00004A20 3C07 move.w D6, D7
00004A22 5346 subq.w D6, 1
00004A24 E54E lsl D6.w, 2
00004A26 49ED FD68 lea.l A4, [A5 - 0x298]
00004A2A 4874 6000 pea.l [A4 + D6.w]
00004A2E A87E syscall AddPt
00004A30 3C07 move.w D6, D7
00004A32 5346 subq.w D6, 1
00004A34 E54E lsl D6.w, 2
00004A36 49ED FCF0 lea.l A4, [A5 - 0x310]
00004A3A 598F subq.l A7, 4
00004A3C 2F3A 05CA move.l -[A7], [PC + 0x5CA /* 00005008, value 0x52474E20 'RGN ' */]
00004A40 3A3C 00C8 move.w D5, 0xC8
00004A44 DA47 add.w D5, D7
00004A46 3F05 move.w -[A7], D5
00004A48 A9A0 syscall GetResource
00004A4A 2A1F move.l D5, [A7]+
00004A4C 2985 6000 move.l [A4 + D6.w], D5
00004A50 3C07 move.w D6, D7
00004A52 5346 subq.w D6, 1
00004A54 E54E lsl D6.w, 2
00004A56 49ED FCF0 lea.l A4, [A5 - 0x310]
00004A5A 2874 6000 movea.l A4, [A4 + D6.w]
00004A5E 2854 movea.l A4, [A4]
00004A60 2B6C 0002 ED6A move.l [A5 - 0x1296], [A4 + 0x2]
00004A66 2B6C 0006 ED6E move.l [A5 - 0x1292], [A4 + 0x6]
00004A6C 3C07 move.w D6, D7
00004A6E 5346 subq.w D6, 1
00004A70 E54E lsl D6.w, 2
00004A72 49ED FCF0 lea.l A4, [A5 - 0x310]
00004A76 2F34 6000 move.l -[A7], [A4 + D6.w]
00004A7A 3C2D E9FC move.w D6, [A5 - 0x1604]
00004A7E 0646 0014 addi.w D6, 0x14
00004A82 9C6D ED6C sub.w D6, [A5 - 0x1294]
00004A86 3F06 move.w -[A7], D6
00004A88 3C2D E9FA move.w D6, [A5 - 0x1606]
00004A8C 0646 0014 addi.w D6, 0x14
00004A90 9C6D ED6A sub.w D6, [A5 - 0x1296]
00004A94 3F06 move.w -[A7], D6
00004A96 A8E0 syscall OffsetRgn/OfsetRgn
00004A98 486D ED6A pea.l [A5 - 0x1296]
00004A9C 3C2D ED6C move.w D6, [A5 - 0x1294]
00004AA0 4446 neg.w D6
00004AA2 3F06 move.w -[A7], D6
00004AA4 3C2D ED6A move.w D6, [A5 - 0x1296]
00004AA8 4446 neg.w D6
00004AAA 3F06 move.w -[A7], D6
00004AAC A8A8 syscall OffsetRect
00004AAE 3C2D ED70 move.w D6, [A5 - 0x1290]
00004AB2 BC6E FFB6 cmp.w D6, [A6 - 0x4A]
00004AB6 6F00 0008 ble +0xA /* 00004AC0 */
00004ABA 3D6D ED70 FFB6 move.w [A6 - 0x4A], [A5 - 0x1290]
label00004AC0:
00004AC0 3C2D ED6E move.w D6, [A5 - 0x1292]
00004AC4 BC6E FFB4 cmp.w D6, [A6 - 0x4C]
00004AC8 6F00 0008 ble +0xA /* 00004AD2 */
00004ACC 3D6D ED6E FFB4 move.w [A6 - 0x4C], [A5 - 0x1292]
label00004AD2:
00004AD2 0C47 001B cmpi.w D7, 0x1B
00004AD6 6C00 000C bge +0xE /* 00004AE4 */
00004ADA 5247 addq.w D7, 1
00004ADC 3D47 FFF8 move.w [A6 - 0x8], D7
00004AE0 4EFA FF3A jmp [PC - 0xC6 /* 00004A1C */]
label00004AE4:
00004AE4 2D6E FFB0 FFC6 move.l [A6 - 0x3A], [A6 - 0x50]
00004AEA 2D6E FFB4 FFCA move.l [A6 - 0x36], [A6 - 0x4C]
00004AF0 486E FFC0 pea.l [A6 - 0x40]
00004AF4 4EBA F738 jsr [PC - 0x8C8 /* 0000422E */]
00004AF8 2D6E FFB0 FFE2 move.l [A6 - 0x1E], [A6 - 0x50]
00004AFE 2D6E FFB4 FFE6 move.l [A6 - 0x1A], [A6 - 0x4C]
00004B04 486E FFDC pea.l [A6 - 0x24]
00004B08 4EBA F724 jsr [PC - 0x8DC /* 0000422E */]
00004B0C 486E FFB0 pea.l [A6 - 0x50]
00004B10 3F3C FFF9 move.w -[A7], 0xFFF9
00004B14 3F3C FFFE move.w -[A7], 0xFFFE
00004B18 A8A9 syscall InsetRect
00004B1A 2D6E FFB0 FFD4 move.l [A6 - 0x2C], [A6 - 0x50]
00004B20 2D6E FFB4 FFD8 move.l [A6 - 0x28], [A6 - 0x4C]
00004B26 486E FFCE pea.l [A6 - 0x32]
00004B2A 4EBA F702 jsr [PC - 0x8FE /* 0000422E */]
00004B2E 2F2D E9F2 move.l -[A7], [A5 - 0x160E]
00004B32 486D E9FA pea.l [A5 - 0x1606]
00004B36 A8F6 syscall DrawPicture
00004B38 286D EB6A movea.l A4, [A5 - 0x1496]
00004B3C 47EE FFEA lea.l A3, [A6 - 0x16]
00004B40 49EC 0002 lea.l A4, [A4 + 0x2]
00004B44 3E3C 000D move.w D7, 0xD /* '\r' */
label00004B48:
00004B48 16DC move.b [A3]+, [A4]+
00004B4A 51CF FFFC dbf D7, -0x6 /* 00004B48 */
00004B4E 3E3C 001B move.w D7, 0x1B
00004B52 3D47 FFF8 move.w [A6 - 0x8], D7
00004B56 0C47 0001 cmpi.w D7, 0x1
00004B5A 6D00 045A blt +0x45C /* 00004FB6 */
label00004B5E:
00004B5E 3C07 move.w D6, D7
00004B60 5346 subq.w D6, 1
00004B62 E54E lsl D6.w, 2
00004B64 49ED FCF0 lea.l A4, [A5 - 0x310]
00004B68 2F34 6000 move.l -[A7], [A4 + D6.w]
00004B6C 486D FFD8 pea.l [A5 - 0x28]
00004B70 A8D6 syscall FillRgn
00004B72 3C07 move.w D6, D7
00004B74 5346 subq.w D6, 1
00004B76 E54E lsl D6.w, 2
00004B78 49ED FCF0 lea.l A4, [A5 - 0x310]
00004B7C 2F34 6000 move.l -[A7], [A4 + D6.w]
00004B80 A8D2 syscall FrameRgn
00004B82 3C07 move.w D6, D7
00004B84 5346 subq.w D6, 1
00004B86 E54E lsl D6.w, 2
00004B88 49ED FCF0 lea.l A4, [A5 - 0x310]
00004B8C 2874 6000 movea.l A4, [A4 + D6.w]
00004B90 2854 movea.l A4, [A4]
00004B92 2B6C 0002 ED5A move.l [A5 - 0x12A6], [A4 + 0x2]
00004B98 2B6C 0006 ED5E move.l [A5 - 0x12A2], [A4 + 0x6]
00004B9E 486E FFC0 pea.l [A6 - 0x40]
00004BA2 A875 syscall SetPBits/SetPortBits
00004BA4 486E FFC6 pea.l [A6 - 0x3A]
00004BA8 A8A3 syscall EraseRect
00004BAA 3F2D ED5C move.w -[A7], [A5 - 0x12A4]
00004BAE 3F2D ED5A move.w -[A7], [A5 - 0x12A6]
00004BB2 A878 syscall SetOrigin
00004BB4 2F2D E9F2 move.l -[A7], [A5 - 0x160E]
00004BB8 486D E9FA pea.l [A5 - 0x1606]
00004BBC A8F6 syscall DrawPicture
00004BBE 4267 clr.w -[A7]
00004BC0 4267 clr.w -[A7]
00004BC2 A878 syscall SetOrigin
00004BC4 286D EB6A movea.l A4, [A5 - 0x1496]
00004BC8 486C 0010 pea.l [A4 + 0x10]
00004BCC A87B syscall ClipRect
00004BCE 486D ED5A pea.l [A5 - 0x12A6]
00004BD2 3C2D ED5C move.w D6, [A5 - 0x12A4]
00004BD6 4446 neg.w D6
00004BD8 3F06 move.w -[A7], D6
00004BDA 3C2D ED5A move.w D6, [A5 - 0x12A6]
00004BDE 4446 neg.w D6
00004BE0 3F06 move.w -[A7], D6
00004BE2 A8A8 syscall OffsetRect
00004BE4 3C07 move.w D6, D7
00004BE6 5346 subq.w D6, 1
00004BE8 E54E lsl D6.w, 2
00004BEA 49ED FCF0 lea.l A4, [A5 - 0x310]
00004BEE 2874 6000 movea.l A4, [A4 + D6.w]
00004BF2 2854 movea.l A4, [A4]
00004BF4 2B6C 0002 ED8A move.l [A5 - 0x1276], [A4 + 0x2]
00004BFA 2B6C 0006 ED8E move.l [A5 - 0x1272], [A4 + 0x6]
00004C00 2B6D ED8A ED82 move.l [A5 - 0x127E], [A5 - 0x1276]
00004C06 2B6D ED8E ED86 move.l [A5 - 0x127A], [A5 - 0x1272]
00004C0C 2D6D ED82 FFB8 move.l [A6 - 0x48], [A5 - 0x127E]
00004C12 2D6D ED86 FFBC move.l [A6 - 0x44], [A5 - 0x127A]
00004C18 486E FFB8 pea.l [A6 - 0x48]
00004C1C 3C2E FFBA move.w D6, [A6 - 0x46]
00004C20 4446 neg.w D6
00004C22 3F06 move.w -[A7], D6
00004C24 3C2E FFB8 move.w D6, [A6 - 0x48]
00004C28 4446 neg.w D6
00004C2A 3F06 move.w -[A7], D6
00004C2C A8A8 syscall OffsetRect
00004C2E 3C07 move.w D6, D7
00004C30 5346 subq.w D6, 1
00004C32 E54E lsl D6.w, 2
00004C34 49ED FCF0 lea.l A4, [A5 - 0x310]
00004C38 2F34 6000 move.l -[A7], [A4 + D6.w]
00004C3C 3C2D ED84 move.w D6, [A5 - 0x127C]
00004C40 4446 neg.w D6
00004C42 3F06 move.w -[A7], D6
00004C44 3C2D ED82 move.w D6, [A5 - 0x127E]
00004C48 4446 neg.w D6
00004C4A 3F06 move.w -[A7], D6
00004C4C A8E0 syscall OffsetRgn/OfsetRgn
00004C4E 486E FFDC pea.l [A6 - 0x24]
00004C52 A875 syscall SetPBits/SetPortBits
00004C54 486D ED82 pea.l [A5 - 0x127E]
00004C58 A8A3 syscall EraseRect
00004C5A 3C07 move.w D6, D7
00004C5C 5346 subq.w D6, 1
00004C5E E54E lsl D6.w, 2
00004C60 49ED FCF0 lea.l A4, [A5 - 0x310]
00004C64 2F34 6000 move.l -[A7], [A4 + D6.w]
00004C68 486D FFD8 pea.l [A5 - 0x28]
00004C6C A8D6 syscall FillRgn
00004C6E 3C07 move.w D6, D7
00004C70 5346 subq.w D6, 1
00004C72 E54E lsl D6.w, 2
00004C74 49ED FCF0 lea.l A4, [A5 - 0x310]
00004C78 2F34 6000 move.l -[A7], [A4 + D6.w]
00004C7C A8D2 syscall FrameRgn
00004C7E 3C07 move.w D6, D7
00004C80 5346 subq.w D6, 1
00004C82 E54E lsl D6.w, 2
00004C84 49ED FD68 lea.l A4, [A5 - 0x298]
00004C88 3A34 6000 move.w D5, [A4 + D6.w]
00004C8C 9A6D ED82 sub.w D5, [A5 - 0x127E]
00004C90 0C45 0000 cmpi.w D5, 0x0
00004C94 6F00 000C ble +0xE /* 00004CA2 */
00004C98 3D7C 0004 FFFE move.w [A6 - 0x2], 0x4
00004C9E 4EFA 0008 jmp [PC + 0x8 /* 00004CA8 */]
label00004CA2:
00004CA2 3D7C FFFC FFFE move.w [A6 - 0x2], 0xFFFC
label00004CA8:
00004CA8 486E FFEA pea.l [A6 - 0x16]
00004CAC A875 syscall SetPBits/SetPortBits
label00004CAE:
00004CAE 3C07 move.w D6, D7
00004CB0 5346 subq.w D6, 1
00004CB2 E54E lsl D6.w, 2
00004CB4 49ED FD68 lea.l A4, [A5 - 0x298]
00004CB8 3A2D ED84 move.w D5, [A5 - 0x127C]
00004CBC 9A74 6002 sub.w D5, [A4 + D6.w + 0x2]
00004CC0 4A45 tst.w D5
00004CC2 6A02 bpl +0x4 /* 00004CC6 */
00004CC4 4445 neg.w D5
label00004CC6:
00004CC6 0C45 000E cmpi.w D5, 0xE
00004CCA 6C00 001C bge +0x1E /* 00004CE8 */
00004CCE 3C07 move.w D6, D7
00004CD0 5346 subq.w D6, 1
00004CD2 E54E lsl D6.w, 2
00004CD4 49ED FD68 lea.l A4, [A5 - 0x298]
00004CD8 3A34 6002 move.w D5, [A4 + D6.w + 0x2]
00004CDC 9A6D ED84 sub.w D5, [A5 - 0x127C]
00004CE0 3D45 FFAE move.w [A6 - 0x52], D5
00004CE4 4EFA 0008 jmp [PC + 0x8 /* 00004CEE */]
label00004CE8:
00004CE8 3D7C 000E FFAE move.w [A6 - 0x52], 0xE
label00004CEE:
00004CEE 3C07 move.w D6, D7
00004CF0 5346 subq.w D6, 1
00004CF2 E54E lsl D6.w, 2
00004CF4 49ED FD68 lea.l A4, [A5 - 0x298]
00004CF8 3A2D ED82 move.w D5, [A5 - 0x127E]
00004CFC 9A74 6000 sub.w D5, [A4 + D6.w]
00004D00 4A45 tst.w D5
00004D02 6A02 bpl +0x4 /* 00004D06 */
00004D04 4445 neg.w D5
label00004D06:
00004D06 3C2E FFFE move.w D6, [A6 - 0x2]
00004D0A 4A46 tst.w D6
00004D0C 6A02 bpl +0x4 /* 00004D10 */
00004D0E 4446 neg.w D6
label00004D10:
00004D10 BA46 cmp.w D5, D6
00004D12 6C00 001C bge +0x1E /* 00004D30 */
00004D16 3C07 move.w D6, D7
00004D18 5346 subq.w D6, 1
00004D1A E54E lsl D6.w, 2
00004D1C 49ED FD68 lea.l A4, [A5 - 0x298]
00004D20 3A34 6000 move.w D5, [A4 + D6.w]
00004D24 9A6D ED82 sub.w D5, [A5 - 0x127E]
00004D28 3D45 FFAC move.w [A6 - 0x54], D5
00004D2C 4EFA 0008 jmp [PC + 0x8 /* 00004D36 */]
label00004D30:
00004D30 3D6E FFFE FFAC move.w [A6 - 0x54], [A6 - 0x2]
label00004D36:
00004D36 3C2D ED84 move.w D6, [A5 - 0x127C]
00004D3A DC6E FFAE add.w D6, [A6 - 0x52]
00004D3E 3B46 ED84 move.w [A5 - 0x127C], D6
00004D42 3C2D ED88 move.w D6, [A5 - 0x1278]
00004D46 DC6E FFAE add.w D6, [A6 - 0x52]
00004D4A 3B46 ED88 move.w [A5 - 0x1278], D6
00004D4E 3C2D ED82 move.w D6, [A5 - 0x127E]
00004D52 DC6E FFAC add.w D6, [A6 - 0x54]
00004D56 3B46 ED82 move.w [A5 - 0x127E], D6
00004D5A 3C2D ED86 move.w D6, [A5 - 0x127A]
00004D5E DC6E FFAC add.w D6, [A6 - 0x54]
00004D62 3B46 ED86 move.w [A5 - 0x127A], D6
00004D66 486D ED8A pea.l [A5 - 0x1276]
00004D6A 486D ED82 pea.l [A5 - 0x127E]
00004D6E 486D ED7A pea.l [A5 - 0x1286]
00004D72 A8AB syscall UnionRect
00004D74 2B6D ED8A ED72 move.l [A5 - 0x128E], [A5 - 0x1276]
00004D7A 2B6D ED8E ED76 move.l [A5 - 0x128A], [A5 - 0x1272]
00004D80 2B6D ED82 ED6A move.l [A5 - 0x1296], [A5 - 0x127E]
00004D86 2B6D ED86 ED6E move.l [A5 - 0x1292], [A5 - 0x127A]
00004D8C 2B6D ED7A ED62 move.l [A5 - 0x129E], [A5 - 0x1286]
00004D92 2B6D ED7E ED66 move.l [A5 - 0x129A], [A5 - 0x1282]
00004D98 486D ED72 pea.l [A5 - 0x128E]
00004D9C 3C2D ED64 move.w D6, [A5 - 0x129C]
00004DA0 4446 neg.w D6
00004DA2 3F06 move.w -[A7], D6
00004DA4 3C2D ED62 move.w D6, [A5 - 0x129E]
00004DA8 4446 neg.w D6
00004DAA 3F06 move.w -[A7], D6
00004DAC A8A8 syscall OffsetRect
00004DAE 486D ED6A pea.l [A5 - 0x1296]
00004DB2 3C2D ED64 move.w D6, [A5 - 0x129C]
00004DB6 4446 neg.w D6
00004DB8 3F06 move.w -[A7], D6
00004DBA 3C2D ED62 move.w D6, [A5 - 0x129E]
00004DBE 4446 neg.w D6
00004DC0 3F06 move.w -[A7], D6
00004DC2 A8A8 syscall OffsetRect
00004DC4 486D ED62 pea.l [A5 - 0x129E]
00004DC8 3C2D ED64 move.w D6, [A5 - 0x129C]
00004DCC 4446 neg.w D6
00004DCE 3F06 move.w -[A7], D6
00004DD0 3C2D ED62 move.w D6, [A5 - 0x129E]
00004DD4 4446 neg.w D6
00004DD6 3F06 move.w -[A7], D6
00004DD8 A8A8 syscall OffsetRect
00004DDA 286D EB6A movea.l A4, [A5 - 0x1496]
00004DDE 486C 0002 pea.l [A4 + 0x2]
00004DE2 486E FFCE pea.l [A6 - 0x32]
00004DE6 486D ED7A pea.l [A5 - 0x1286]
00004DEA 486D ED62 pea.l [A5 - 0x129E]
00004DEE 4267 clr.w -[A7]
00004DF0 42A7 clr.l -[A7]
00004DF2 A8EC syscall CopyBits
00004DF4 486E FFC0 pea.l [A6 - 0x40]
00004DF8 486E FFCE pea.l [A6 - 0x32]
00004DFC 486D ED5A pea.l [A5 - 0x12A6]
00004E00 486D ED72 pea.l [A5 - 0x128E]
00004E04 4267 clr.w -[A7]
00004E06 42A7 clr.l -[A7]
00004E08 A8EC syscall CopyBits
00004E0A 486E FFCE pea.l [A6 - 0x32]
00004E0E 486E FFC0 pea.l [A6 - 0x40]
00004E12 486D ED6A pea.l [A5 - 0x1296]
00004E16 486D ED5A pea.l [A5 - 0x12A6]
00004E1A 4267 clr.w -[A7]
00004E1C 42A7 clr.l -[A7]
00004E1E A8EC syscall CopyBits
00004E20 3C07 move.w D6, D7
00004E22 5346 subq.w D6, 1
00004E24 E54E lsl D6.w, 2
00004E26 49ED FCF0 lea.l A4, [A5 - 0x310]
00004E2A 2F34 6000 move.l -[A7], [A4 + D6.w]
00004E2E 3C07 move.w D6, D7
00004E30 5346 subq.w D6, 1
00004E32 E54E lsl D6.w, 2
00004E34 49ED FCF0 lea.l A4, [A5 - 0x310]
00004E38 2874 6000 movea.l A4, [A4 + D6.w]
00004E3C 2854 movea.l A4, [A4]
00004E3E 3C2D ED6C move.w D6, [A5 - 0x1294]
00004E42 9C6C 0004 sub.w D6, [A4 + 0x4]
00004E46 3F06 move.w -[A7], D6
00004E48 3C07 move.w D6, D7
00004E4A 5346 subq.w D6, 1
00004E4C E54E lsl D6.w, 2
00004E4E 49ED FCF0 lea.l A4, [A5 - 0x310]
00004E52 2874 6000 movea.l A4, [A4 + D6.w]
00004E56 2854 movea.l A4, [A4]
00004E58 3C2D ED6A move.w D6, [A5 - 0x1296]
00004E5C 9C6C 0002 sub.w D6, [A4 + 0x2]
00004E60 3F06 move.w -[A7], D6
00004E62 A8E0 syscall OffsetRgn/OfsetRgn
00004E64 486E FFDC pea.l [A6 - 0x24]
00004E68 486E FFCE pea.l [A6 - 0x32]
00004E6C 486E FFB8 pea.l [A6 - 0x48]
00004E70 486D ED6A pea.l [A5 - 0x1296]
00004E74 4267 clr.w -[A7]
00004E76 3C07 move.w D6, D7
00004E78 5346 subq.w D6, 1
00004E7A E54E lsl D6.w, 2
00004E7C 49ED FCF0 lea.l A4, [A5 - 0x310]
00004E80 2F34 6000 move.l -[A7], [A4 + D6.w]
00004E84 A8EC syscall CopyBits
00004E86 486E FFCE pea.l [A6 - 0x32]
00004E8A 286D EB6A movea.l A4, [A5 - 0x1496]
00004E8E 486C 0002 pea.l [A4 + 0x2]
00004E92 486D ED62 pea.l [A5 - 0x129E]
00004E96 486D ED7A pea.l [A5 - 0x1286]
00004E9A 4267 clr.w -[A7]
00004E9C 42A7 clr.l -[A7]
00004E9E A8EC syscall CopyBits
00004EA0 2B6D ED82 ED8A move.l [A5 - 0x1276], [A5 - 0x127E]
00004EA6 2B6D ED86 ED8E move.l [A5 - 0x1272], [A5 - 0x127A]
00004EAC 3C07 move.w D6, D7
00004EAE 5346 subq.w D6, 1
00004EB0 E54E lsl D6.w, 2
00004EB2 49ED FD68 lea.l A4, [A5 - 0x298]
00004EB6 3A2D ED82 move.w D5, [A5 - 0x127E]
00004EBA BA74 6000 cmp.w D5, [A4 + D6.w]
00004EBE 57C6 seq D6
00004EC0 4406 neg.b D6
00004EC2 3A07 move.w D5, D7
00004EC4 5345 subq.w D5, 1
00004EC6 E54D lsl D5.w, 2
00004EC8 49ED FD68 lea.l A4, [A5 - 0x298]
00004ECC 382D ED84 move.w D4, [A5 - 0x127C]
00004ED0 B874 5002 cmp.w D4, [A4 + D5.w + 0x2]
00004ED4 57C5 seq D5
00004ED6 4405 neg.b D5
00004ED8 CA06 and.b D5, D6
00004EDA 6700 FDD2 beq -0x22C /* 00004CAE */
00004EDE 486E FFEA pea.l [A6 - 0x16]
00004EE2 A875 syscall SetPBits/SetPortBits
00004EE4 3C07 move.w D6, D7
00004EE6 5346 subq.w D6, 1
00004EE8 E54E lsl D6.w, 2
00004EEA 49ED FCF0 lea.l A4, [A5 - 0x310]
00004EEE 2F34 6000 move.l -[A7], [A4 + D6.w]
00004EF2 3C07 move.w D6, D7
00004EF4 5346 subq.w D6, 1
00004EF6 E54E lsl D6.w, 2
00004EF8 49ED FCF0 lea.l A4, [A5 - 0x310]
00004EFC 2874 6000 movea.l A4, [A4 + D6.w]
00004F00 2854 movea.l A4, [A4]
00004F02 3C2D ED84 move.w D6, [A5 - 0x127C]
00004F06 9C6C 0004 sub.w D6, [A4 + 0x4]
00004F0A 3F06 move.w -[A7], D6
00004F0C 3C07 move.w D6, D7
00004F0E 5346 subq.w D6, 1
00004F10 E54E lsl D6.w, 2
00004F12 49ED FCF0 lea.l A4, [A5 - 0x310]
00004F16 2874 6000 movea.l A4, [A4 + D6.w]
00004F1A 2854 movea.l A4, [A4]
00004F1C 3C2D ED82 move.w D6, [A5 - 0x127E]
00004F20 9C6C 0002 sub.w D6, [A4 + 0x2]
00004F24 3F06 move.w -[A7], D6
00004F26 A8E0 syscall OffsetRgn/OfsetRgn
00004F28 4EBA F4D2 jsr [PC - 0xB2E /* 000043FC */]
00004F2C 4EFA 0032 jmp [PC + 0x32 /* 00004F60 */]
label00004F30:
00004F30 3C07 move.w D6, D7
00004F32 5346 subq.w D6, 1
00004F34 E54E lsl D6.w, 2
00004F36 49ED FCF0 lea.l A4, [A5 - 0x310]
00004F3A 2F34 6000 move.l -[A7], [A4 + D6.w]
00004F3E 486D FFF0 pea.l [A5 - 0x10]
00004F42 A8D6 syscall FillRgn
00004F44 4EFA 0048 jmp [PC + 0x48 /* 00004F8E */]
label00004F48:
00004F48 3C07 move.w D6, D7
00004F4A 5346 subq.w D6, 1
00004F4C E54E lsl D6.w, 2
00004F4E 49ED FCF0 lea.l A4, [A5 - 0x310]
00004F52 2F34 6000 move.l -[A7], [A4 + D6.w]
00004F56 486D FFE8 pea.l [A5 - 0x18]
00004F5A A8D6 syscall FillRgn
00004F5C 4EFA 0030 jmp [PC + 0x30 /* 00004F8E */]
label00004F60:
00004F60 3C07 move.w D6, D7
00004F62 0C46 0007 cmpi.w D6, 0x7
00004F66 6700 FFC8 beq -0x36 /* 00004F30 */
00004F6A 0C46 0008 cmpi.w D6, 0x8
00004F6E 6700 FFC0 beq -0x3E /* 00004F30 */
00004F72 0C46 000C cmpi.w D6, 0xC
00004F76 6700 FFB8 beq -0x46 /* 00004F30 */
00004F7A 0C46 0011 cmpi.w D6, 0x11
00004F7E 6700 FFB0 beq -0x4E /* 00004F30 */
00004F82 0C46 0013 cmpi.w D6, 0x13
00004F86 6700 FFA8 beq -0x56 /* 00004F30 */
00004F8A 4EFA FFBC jmp [PC - 0x44 /* 00004F48 */]
label00004F8E:
00004F8E 558F subq.l A7, 2
00004F90 3F3C 0002 move.w -[A7], 0x2
00004F94 486E FF9C pea.l [A6 - 0x64]
00004F98 A971 syscall EventAvail
00004F9A 1C1F move.b D6, [A7]+
00004F9C 6700 0006 beq +0x8 /* 00004FA4 */
00004FA0 4EFA 0014 jmp [PC + 0x14 /* 00004FB6 */]
label00004FA4:
00004FA4 0C47 0001 cmpi.w D7, 0x1
00004FA8 6F00 000C ble +0xE /* 00004FB6 */
00004FAC 5347 subq.w D7, 1
00004FAE 3D47 FFF8 move.w [A6 - 0x8], D7
00004FB2 4EFA FBAA jmp [PC - 0x456 /* 00004B5E */]
label00004FB6:
00004FB6 3E3C 0001 move.w D7, 0x1
00004FBA 3D47 FFF8 move.w [A6 - 0x8], D7
00004FBE 0C47 001B cmpi.w D7, 0x1B
00004FC2 6E00 0024 bgt +0x26 /* 00004FE8 */
label00004FC6:
00004FC6 3C07 move.w D6, D7
00004FC8 5346 subq.w D6, 1
00004FCA E54E lsl D6.w, 2
00004FCC 49ED FCF0 lea.l A4, [A5 - 0x310]
00004FD0 2F34 6000 move.l -[A7], [A4 + D6.w]
00004FD4 A9A3 syscall ReleaseResource
00004FD6 0C47 001B cmpi.w D7, 0x1B
00004FDA 6C00 000C bge +0xE /* 00004FE8 */
00004FDE 5247 addq.w D7, 1
00004FE0 3D47 FFF8 move.w [A6 - 0x8], D7
00004FE4 4EFA FFE0 jmp [PC - 0x20 /* 00004FC6 */]
label00004FE8:
00004FE8 2F2E FFC0 move.l -[A7], [A6 - 0x40]
00004FEC 4EBA EC04 jsr [PC - 0x13FC /* 00003BF2 */]
00004FF0 2F2E FFDC move.l -[A7], [A6 - 0x24]
00004FF4 4EBA EBFC jsr [PC - 0x1404 /* 00003BF2 */]
00004FF8 2F2E FFCE move.l -[A7], [A6 - 0x32]
00004FFC 4EBA EBF4 jsr [PC - 0x140C /* 00003BF2 */]
00005000 4CDF 18F0 movem.l D4,D5,D6,D7,A3,A4, [A7]+
00005004 4E5E unlink A6
00005006 4E75 rts
00005008 5247 addq.w D7, 1
0000500A 4E20 .invalid // invalid opcode 4
fn0000500C:
0000500C 4E56 FFF6 link A6, -0x000A
00005010 48E7 0708 movem.l -[A7], D5,D6,D7,A4
00005014 4EFA 008A jmp [PC + 0x8A /* 000050A0 */]
label00005018:
00005018 3B7C 001B FCEE move.w [A5 - 0x312], 0x1B
0000501E 3B7C 00B4 FDE2 move.w [A5 - 0x21E], 0xB4
00005024 3B7C 0078 FDE0 move.w [A5 - 0x220], 0x78 /* 'x' */
0000502A 3D7C 00C8 FFFA move.w [A6 - 0x6], 0xC8
00005030 3D7C 03E7 FFFC move.w [A6 - 0x4], 0x3E7
00005036 4EFA 008C jmp [PC + 0x8C /* 000050C4 */]
label0000503A:
0000503A 3B7C 000E FCEE move.w [A5 - 0x312], 0xE
00005040 3B7C 0076 FDE2 move.w [A5 - 0x21E], 0x76 /* 'v' */
00005046 3B7C 0051 FDE0 move.w [A5 - 0x220], 0x51 /* 'Q' */
0000504C 3D7C 012C FFFA move.w [A6 - 0x6], 0x12C
00005052 3D7C 03E8 FFFC move.w [A6 - 0x4], 0x3E8
00005058 4EFA 006A jmp [PC + 0x6A /* 000050C4 */]
label0000505C:
0000505C 3B7C 001E FCEE move.w [A5 - 0x312], 0x1E
00005062 3B7C 00E1 FDE2 move.w [A5 - 0x21E], 0xE1
00005068 3B7C 007B FDE0 move.w [A5 - 0x220], 0x7B /* '{' */
0000506E 3D7C 0190 FFFA move.w [A6 - 0x6], 0x190
00005074 3D7C 03E9 FFFC move.w [A6 - 0x4], 0x3E9
0000507A 4EFA 0048 jmp [PC + 0x48 /* 000050C4 */]
label0000507E:
0000507E 3B7C 001C FCEE move.w [A5 - 0x312], 0x1C
00005084 3B7C 0111 FDE2 move.w [A5 - 0x21E], 0x111
0000508A 3B7C 0060 FDE0 move.w [A5 - 0x220], 0x60 /* '`' */
00005090 3D7C 01F4 FFFA move.w [A6 - 0x6], 0x1F4
00005096 3D7C 03EA FFFC move.w [A6 - 0x4], 0x3EA
0000509C 4EFA 0026 jmp [PC + 0x26 /* 000050C4 */]
label000050A0:
000050A0 3E2D EA04 move.w D7, [A5 - 0x15FC]
000050A4 0C47 0001 cmpi.w D7, 0x1
000050A8 6700 FF6E beq -0x90 /* 00005018 */
000050AC 0C47 0002 cmpi.w D7, 0x2
000050B0 6700 FF88 beq -0x76 /* 0000503A */
000050B4 0C47 0003 cmpi.w D7, 0x3
000050B8 6700 FFA2 beq -0x5C /* 0000505C */
000050BC 0C47 0004 cmpi.w D7, 0x4
000050C0 6700 FFBC beq -0x42 /* 0000507E */
label000050C4:
000050C4 3E2D FCEE move.w D7, [A5 - 0x312]
000050C8 0807 0000 btst.b D7, 0x0
000050CC 56C7 sne D7
000050CE 4407 neg.b D7
000050D0 6700 0016 beq +0x18 /* 000050E8 */
000050D4 3E2D FCEE move.w D7, [A5 - 0x312]
000050D8 5247 addq.w D7, 1
000050DA 48C7 ext.l D7
000050DC 8FFC 0002 divs.w D7, 0x2
000050E0 3D47 FFFE move.w [A6 - 0x2], D7
000050E4 4EFA 0010 jmp [PC + 0x10 /* 000050F6 */]
label000050E8:
000050E8 3E2D FCEE move.w D7, [A5 - 0x312]
000050EC 48C7 ext.l D7
000050EE 8FFC 0002 divs.w D7, 0x2
000050F2 3D47 FFFE move.w [A6 - 0x2], D7
label000050F6:
000050F6 3E3C 0001 move.w D7, 0x1
000050FA 3D47 FFF8 move.w [A6 - 0x8], D7
000050FE BE6E FFFE cmp.w D7, [A6 - 0x2]
00005102 6E00 004C bgt +0x4E /* 00005150 */
00005106 3D6E FFFE FFF6 move.w [A6 - 0xA], [A6 - 0x2]
label0000510C:
0000510C 486D FDF0 pea.l [A5 - 0x210]
00005110 3F2E FFFC move.w -[A7], [A6 - 0x4]
00005114 3F07 move.w -[A7], D7
00005116 4EBA F1A6 jsr [PC - 0xE5A /* 000042BE */]
0000511A 3C07 move.w D6, D7
0000511C 5346 subq.w D6, 1
0000511E E54E lsl D6.w, 2
00005120 49ED FD68 lea.l A4, [A5 - 0x298]
00005124 29AD FDF0 6000 move.l [A4 + D6.w], [A5 - 0x210]
0000512A 3C07 move.w D6, D7
0000512C DC6E FFFE add.w D6, [A6 - 0x2]
00005130 5346 subq.w D6, 1
00005132 E54E lsl D6.w, 2
00005134 49ED FD68 lea.l A4, [A5 - 0x298]
00005138 29AD FDF4 6000 move.l [A4 + D6.w], [A5 - 0x20C]
0000513E BE6E FFF6 cmp.w D7, [A6 - 0xA]
00005142 6C00 000C bge +0xE /* 00005150 */
00005146 5247 addq.w D7, 1
00005148 3D47 FFF8 move.w [A6 - 0x8], D7
0000514C 4EFA FFBE jmp [PC - 0x42 /* 0000510C */]
label00005150:
00005150 3E3C 0001 move.w D7, 0x1
00005154 3D47 FFF8 move.w [A6 - 0x8], D7
00005158 BE6D FCEE cmp.w D7, [A5 - 0x312]
0000515C 6E00 003A bgt +0x3C /* 00005198 */
00005160 3D6D FCEE FFF6 move.w [A6 - 0xA], [A5 - 0x312]
label00005166:
00005166 3C07 move.w D6, D7
00005168 5346 subq.w D6, 1
0000516A E54E lsl D6.w, 2
0000516C 49ED FCF0 lea.l A4, [A5 - 0x310]
00005170 598F subq.l A7, 4
00005172 2F3A 002C move.l -[A7], [PC + 0x2C /* 000051A0, value 0x52474E20 'RGN ' */]
00005176 3A2E FFFA move.w D5, [A6 - 0x6]
0000517A DA47 add.w D5, D7
0000517C 3F05 move.w -[A7], D5
0000517E A9A0 syscall GetResource
00005180 2A1F move.l D5, [A7]+
00005182 2985 6000 move.l [A4 + D6.w], D5
00005186 BE6E FFF6 cmp.w D7, [A6 - 0xA]
0000518A 6C00 000C bge +0xE /* 00005198 */
0000518E 5247 addq.w D7, 1
00005190 3D47 FFF8 move.w [A6 - 0x8], D7
00005194 4EFA FFD0 jmp [PC - 0x30 /* 00005166 */]
label00005198:
00005198 4CDF 10E0 movem.l D5,D6,D7,A4, [A7]+
0000519C 4E5E unlink A6
0000519E 4E75 rts
000051A0 5247 addq.w D7, 1
000051A2 4E20 .invalid // invalid opcode 4
fn000051A4:
000051A4 4E56 FCAC link A6, -0x0354
000051A8 48E7 0738 movem.l -[A7], D5,D6,D7,A2,A3,A4
000051AC 486E FFCE pea.l [A6 - 0x32]
000051B0 A874 syscall GetPort
000051B2 4247 clr.w D7
000051B4 1E2E 0008 move.b D7, [A6 + 0x8]
000051B8 E54F lsl D7.w, 2
000051BA 49ED EB6A lea.l A4, [A5 - 0x1496]
000051BE 598F subq.l A7, 4
000051C0 4286 clr.l D6
000051C2 1C2E 0008 move.b D6, [A6 + 0x8]
000051C6 0686 0000 0080 addi.l D6, 0x80
000051CC 3F06 move.w -[A7], D6
000051CE 42A7 clr.l -[A7]
000051D0 2F3C FFFF FFFF move.l -[A7], 0xFFFFFFFF
000051D6 A97C syscall GetNewDialog
000051D8 2C1F move.l D6, [A7]+
000051DA 2986 7000 move.l [A4 + D7.w], D6
000051DE 4247 clr.w D7
000051E0 1E2E 0008 move.b D7, [A6 + 0x8]
000051E4 E54F lsl D7.w, 2
000051E6 49ED EB6A lea.l A4, [A5 - 0x1496]
000051EA 2F34 7000 move.l -[A7], [A4 + D7.w]
000051EE A915 syscall ShowWindow
000051F0 4247 clr.w D7
000051F2 1E2E 0008 move.b D7, [A6 + 0x8]
000051F6 E54F lsl D7.w, 2
000051F8 49ED EB6A lea.l A4, [A5 - 0x1496]
000051FC 2F34 7000 move.l -[A7], [A4 + D7.w]
00005200 A91F syscall SelectWindow
00005202 4247 clr.w D7
00005204 1E2E 0008 move.b D7, [A6 + 0x8]
00005208 E54F lsl D7.w, 2
0000520A 49ED EB6A lea.l A4, [A5 - 0x1496]
0000520E 2F34 7000 move.l -[A7], [A4 + D7.w]
00005212 A873 syscall SetPort
00005214 4247 clr.w D7
00005216 1E2E 0008 move.b D7, [A6 + 0x8]
0000521A E54F lsl D7.w, 2
0000521C 49ED EB6A lea.l A4, [A5 - 0x1496]
00005220 2874 7000 movea.l A4, [A4 + D7.w]
00005224 486C 0010 pea.l [A4 + 0x10]
00005228 A87B syscall ClipRect
0000522A 4EFA 07C0 jmp [PC + 0x7C0 /* 000059EC */]
0000522E 1E2D E9B2 move.b D7, [A5 - 0x164E]
00005232 0A07 0001 xori.b D7, 0x1
00005236 6700 0006 beq +0x8 /* 0000523E */
0000523A 4EBA F40C jsr [PC - 0xBF4 /* 00004648 */]
label0000523E:
0000523E 2F2D EB7E move.l -[A7], [A5 - 0x1482]
00005242 3F3C 0009 move.w -[A7], 0x9 /* '\t' */
00005246 486E FFDE pea.l [A6 - 0x22]
0000524A 486E FFC2 pea.l [A6 - 0x3E]
0000524E 486E FFF0 pea.l [A6 - 0x10]
00005252 A98D syscall GetDialogItem/GetDItem
00005254 286D E9DC movea.l A4, [A5 - 0x1624]
00005258 2854 movea.l A4, [A4]
0000525A 598F subq.l A7, 4
0000525C 2F14 move.l -[A7], [A4]
0000525E 2F3C 0000 2710 move.l -[A7], 0x2710
00005264 4EBA E868 jsr [PC - 0x1798 /* 00003ACE */]
00005268 2E1F move.l D7, [A7]+
0000526A 286D E9DC movea.l A4, [A5 - 0x1624]
0000526E 2854 movea.l A4, [A4]
00005270 598F subq.l A7, 4
00005272 2F2C 0004 move.l -[A7], [A4 + 0x4]
00005276 2F3C 0000 0064 move.l -[A7], 0x64 /* 'd' */
0000527C 4EBA E850 jsr [PC - 0x17B0 /* 00003ACE */]
00005280 2C1F move.l D6, [A7]+
00005282 DC87 add.l D6, D7
00005284 286D E9DC movea.l A4, [A5 - 0x1624]
00005288 2854 movea.l A4, [A4]
0000528A DCAC 0008 add.l D6, [A4 + 0x8]
0000528E 2F06 move.l -[A7], D6
00005290 486E FDC2 pea.l [A6 - 0x23E]
00005294 4EBA ECC2 jsr [PC - 0x133E /* 00003F58 */]
00005298 2F2D EB7E move.l -[A7], [A5 - 0x1482]
0000529C 3F3C 000D move.w -[A7], 0xD /* '\r' */
000052A0 486E FFDE pea.l [A6 - 0x22]
000052A4 486E FFC2 pea.l [A6 - 0x3E]
000052A8 486E FFE0 pea.l [A6 - 0x20]
000052AC A98D syscall GetDialogItem/GetDItem
000052AE 2F2E FFC2 move.l -[A7], [A6 - 0x3E]
000052B2 486E FDC2 pea.l [A6 - 0x23E]
000052B6 A98F syscall SetDialogItemText/SetIText
000052B8 486E FFE0 pea.l [A6 - 0x20]
000052BC 3F3C FFFD move.w -[A7], 0xFFFD
000052C0 3F3C FFFD move.w -[A7], 0xFFFD
000052C4 A8A9 syscall InsetRect
000052C6 286D E9DC movea.l A4, [A5 - 0x1624]
000052CA 2854 movea.l A4, [A4]
000052CC 0CAC 0000 0000 000C cmpi.l [A4 + 0xC], 0x0
000052D4 6F00 0034 ble +0x36 /* 0000530A */
000052D8 2F2D EB7E move.l -[A7], [A5 - 0x1482]
000052DC 3F3C 0007 move.w -[A7], 0x7
000052E0 486E FFDE pea.l [A6 - 0x22]
000052E4 486E FFC2 pea.l [A6 - 0x3E]
000052E8 486E FFE8 pea.l [A6 - 0x18]
000052EC A98D syscall GetDialogItem/GetDItem
000052EE 286D E9DC movea.l A4, [A5 - 0x1624]
000052F2 2854 movea.l A4, [A4]
000052F4 2F2C 000C move.l -[A7], [A4 + 0xC]
000052F8 486E FDC2 pea.l [A6 - 0x23E]
000052FC 4EBA EC5A jsr [PC - 0x13A6 /* 00003F58 */]
00005300 2F2E FFC2 move.l -[A7], [A6 - 0x3E]
00005304 486E FDC2 pea.l [A6 - 0x23E]
00005308 A98F syscall SetDialogItemText/SetIText
label0000530A:
0000530A 2F2D EB7E move.l -[A7], [A5 - 0x1482]
0000530E 3F3C 000A move.w -[A7], 0xA /* '\n' */
00005312 486E FFDE pea.l [A6 - 0x22]
00005316 486E FFC2 pea.l [A6 - 0x3E]
0000531A 486E FFF8 pea.l [A6 - 0x8]
0000531E A98D syscall GetDialogItem/GetDItem
00005320 486E FFF8 pea.l [A6 - 0x8]
00005324 3F3C FFFC move.w -[A7], 0xFFFC
00005328 3F3C FFF8 move.w -[A7], 0xFFF8
0000532C A8A9 syscall InsetRect
label0000532E:
0000532E 486E FFE0 pea.l [A6 - 0x20]
00005332 A8A1 syscall FrameRect
00005334 486E FFF8 pea.l [A6 - 0x8]
00005338 3F3C 000A move.w -[A7], 0xA /* '\n' */
0000533C 3F3C 000A move.w -[A7], 0xA /* '\n' */
00005340 A8B0 syscall FrameRoundRect
00005342 1F2E 0008 move.b -[A7], [A6 + 0x8]
00005346 4EBA F490 jsr [PC - 0xB70 /* 000047D8 */]
0000534A 42A7 clr.l -[A7]
0000534C 486E FFD2 pea.l [A6 - 0x2E]
00005350 A991 syscall ModalDialog
00005352 4EFA 00E6 jmp [PC + 0xE6 /* 0000543A */]
label00005356:
00005356 4EBA F4E6 jsr [PC - 0xB1A /* 0000483E */]
0000535A 4EFA 00FA jmp [PC + 0xFA /* 00005456 */]
label0000535E:
0000535E 3F3C 0087 move.w -[A7], 0x87
00005362 486E FFD4 pea.l [A6 - 0x2C]
00005366 4EBA EE90 jsr [PC - 0x1170 /* 000041F8 */]
0000536A 0C6E 0002 FFD4 cmpi.w [A6 - 0x2C], 0x2
00005370 6600 005E bne +0x60 /* 000053D0 */
00005374 286D E9DC movea.l A4, [A5 - 0x1624]
00005378 2854 movea.l A4, [A4]
0000537A 4294 clr.l [A4]
0000537C 286D E9DC movea.l A4, [A5 - 0x1624]
00005380 2854 movea.l A4, [A4]
00005382 42AC 0004 clr.l [A4 + 0x4]
00005386 286D E9DC movea.l A4, [A5 - 0x1624]
0000538A 2854 movea.l A4, [A4]
0000538C 42AC 0008 clr.l [A4 + 0x8]
00005390 286D E9DC movea.l A4, [A5 - 0x1624]
00005394 2854 movea.l A4, [A4]
00005396 42AC 000C clr.l [A4 + 0xC]
0000539A 4EBA F228 jsr [PC - 0xDD8 /* 000045C4 */]
0000539E 286D E9BC movea.l A4, [A5 - 0x1644]
000053A2 2854 movea.l A4, [A4]
000053A4 4294 clr.l [A4]
000053A6 286D E9BC movea.l A4, [A5 - 0x1644]
000053AA 2854 movea.l A4, [A4]
000053AC 42AC 0004 clr.l [A4 + 0x4]
000053B0 286D E9BC movea.l A4, [A5 - 0x1644]
000053B4 2854 movea.l A4, [A4]
000053B6 42AC 0008 clr.l [A4 + 0x8]
000053BA 286D E9BC movea.l A4, [A5 - 0x1644]
000053BE 2854 movea.l A4, [A4]
000053C0 52AC 000C addq.l [A4 + 0xC], 1
000053C4 1B7C 0001 F9AC move.b [A5 - 0x654], 0x1
000053CA 3D7C 0001 FFD2 move.w [A6 - 0x2E], 0x1
label000053D0:
000053D0 4EFA 0084 jmp [PC + 0x84 /* 00005456 */]
label000053D4:
000053D4 2F2D EB7E move.l -[A7], [A5 - 0x1482]
000053D8 3F3C 0007 move.w -[A7], 0x7
000053DC 486E FFDE pea.l [A6 - 0x22]
000053E0 486E FFC2 pea.l [A6 - 0x3E]
000053E4 486E FFE8 pea.l [A6 - 0x18]
000053E8 A98D syscall GetDialogItem/GetDItem
000053EA 2F2E FFC2 move.l -[A7], [A6 - 0x3E]
000053EE 486E FDC2 pea.l [A6 - 0x23E]
000053F2 A990 syscall GetDialogItemText/GetIText
000053F4 486E FDC2 pea.l [A6 - 0x23E]
000053F8 486E FDBE pea.l [A6 - 0x242]
000053FC 4EBA EB46 jsr [PC - 0x14BA /* 00003F44 */]
00005400 598F subq.l A7, 4
00005402 4EBA F1EE jsr [PC - 0xE12 /* 000045F2 */]
00005406 2E1F move.l D7, [A7]+
00005408 2C2E FDBE move.l D6, [A6 - 0x242]
0000540C BC87 cmp.l D6, D7
0000540E 6600 001A bne +0x1C /* 0000542A */
00005412 266D E9DC movea.l A3, [A5 - 0x1624]
00005416 2653 movea.l A3, [A3]
00005418 276E FDBE 000C move.l [A3 + 0xC], [A6 - 0x242]
0000541E 4EBA F1A4 jsr [PC - 0xE5C /* 000045C4 */]
00005422 4EBA F224 jsr [PC - 0xDDC /* 00004648 */]
00005426 4EFA 000E jmp [PC + 0xE /* 00005436 */]
label0000542A:
0000542A 3F3C 0088 move.w -[A7], 0x88
0000542E 486E FFD4 pea.l [A6 - 0x2C]
00005432 4EBA EDC4 jsr [PC - 0x123C /* 000041F8 */]
label00005436:
00005436 4EFA 001E jmp [PC + 0x1E /* 00005456 */]
label0000543A:
0000543A 3E2E FFD2 move.w D7, [A6 - 0x2E]
0000543E 0C47 0002 cmpi.w D7, 0x2
00005442 6700 FF12 beq -0xEC /* 00005356 */
00005446 0C47 0005 cmpi.w D7, 0x5
0000544A 6700 FF12 beq -0xEC /* 0000535E */
0000544E 0C47 0006 cmpi.w D7, 0x6
00005452 6700 FF80 beq -0x7E /* 000053D4 */
label00005456:
00005456 486E FFF0 pea.l [A6 - 0x10]
0000545A A928 syscall InvalRect
0000545C 0C6E 0001 FFD2 cmpi.w [A6 - 0x2E], 0x1
00005462 6600 FECA bne -0x134 /* 0000532E */
00005466 4EFA 05B0 jmp [PC + 0x5B0 /* 00005A18 */]
0000546A 598F subq.l A7, 4
0000546C 2F3A 0610 move.l -[A7], [PC + 0x610 /* 00005A7E, value 0x54425546 'TBUF' */]
00005470 3F3C 0080 move.w -[A7], 0x80
00005474 A9A0 syscall GetResource
00005476 2E1F move.l D7, [A7]+
00005478 2B47 E9D8 move.l [A5 - 0x1628], D7
0000547C 2F2D E9D8 move.l -[A7], [A5 - 0x1628]
00005480 4EBA E7D0 jsr [PC - 0x1830 /* 00003C52 */]
00005484 266D EB72 movea.l A3, [A5 - 0x148E]
00005488 2D6B 0010 FFE0 move.l [A6 - 0x20], [A3 + 0x10]
0000548E 2D6B 0014 FFE4 move.l [A6 - 0x1C], [A3 + 0x14]
00005494 486E FFE0 pea.l [A6 - 0x20]
00005498 3F3C 0005 move.w -[A7], 0x5
0000549C 3F3C 0005 move.w -[A7], 0x5
000054A0 A8A9 syscall InsetRect
000054A2 3F3C 0009 move.w -[A7], 0x9 /* '\t' */
000054A6 A88A syscall TextSize
000054A8 3F3C 0003 move.w -[A7], 0x3
000054AC A887 syscall TextFont
000054AE 266D E9D8 movea.l A3, [A5 - 0x1628]
000054B2 2F13 move.l -[A7], [A3]
000054B4 598F subq.l A7, 4
000054B6 2F2D E9D8 move.l -[A7], [A5 - 0x1628]
000054BA 4EBA E776 jsr [PC - 0x188A /* 00003C32 */]
000054BE 2E1F move.l D7, [A7]+
000054C0 2F07 move.l -[A7], D7
000054C2 486E FFE0 pea.l [A6 - 0x20]
000054C6 4267 clr.w -[A7]
000054C8 A9CE syscall TETextBox/TextBox
000054CA 2F2D E9D8 move.l -[A7], [A5 - 0x1628]
000054CE 4EBA E78C jsr [PC - 0x1874 /* 00003C5C */]
000054D2 2F2D E9D8 move.l -[A7], [A5 - 0x1628]
000054D6 A9A3 syscall ReleaseResource
000054D8 1F2E 0008 move.b -[A7], [A6 + 0x8]
000054DC 4EBA F2FA jsr [PC - 0xD06 /* 000047D8 */]
000054E0 42A7 clr.l -[A7]
000054E2 486E FFD2 pea.l [A6 - 0x2E]
000054E6 A991 syscall ModalDialog
000054E8 4EFA 052E jmp [PC + 0x52E /* 00005A18 */]
000054EC 598F subq.l A7, 4
000054EE 2F3C 001E 8480 move.l -[A7], 0x1E8480
000054F4 4EBA E6A4 jsr [PC - 0x195C /* 00003B9A */]
000054F8 2E1F move.l D7, [A7]+
000054FA 2B47 E9E0 move.l [A5 - 0x1620], D7
000054FE 598F subq.l A7, 4
00005500 2F2D E9E0 move.l -[A7], [A5 - 0x1620]
00005504 2F3C 0000 0400 move.l -[A7], 0x400
0000550A 4EBA E5E8 jsr [PC - 0x1A18 /* 00003AF4 */]
0000550E 2E1F move.l D7, [A7]+
00005510 2D47 FDBA move.l [A6 - 0x246], D7
00005514 2F2E FDBA move.l -[A7], [A6 - 0x246]
00005518 486E FDC2 pea.l [A6 - 0x23E]
0000551C 4EBA EA3A jsr [PC - 0x15C6 /* 00003F58 */]
00005520 3F3C 0009 move.w -[A7], 0x9 /* '\t' */
00005524 A88A syscall TextSize
00005526 3F3C 0003 move.w -[A7], 0x3
0000552A A887 syscall TextFont
0000552C 266D EB6A movea.l A3, [A5 - 0x1496]
00005530 3E2B 0016 move.w D7, [A3 + 0x16]
00005534 0447 00F0 subi.w D7, 0xF0
00005538 3F07 move.w -[A7], D7
0000553A 266D EB6A movea.l A3, [A5 - 0x1496]
0000553E 3E2B 0014 move.w D7, [A3 + 0x14]
00005542 5747 subq.w D7, 3
00005544 3F07 move.w -[A7], D7
00005546 A893 syscall MoveTo
00005548 487A 0512 pea.l [PC + 0x512 /* 00005A5C, value 0x204C6172 ' Lar', pstring "Largest free block is at least: " */]
0000554C 486E FDC2 pea.l [A6 - 0x23E]
00005550 487A 0508 pea.l [PC + 0x508 /* 00005A5A, value 0x14B204C */]
00005554 486E FCAC pea.l [A6 - 0x354]
00005558 3F3C 0003 move.w -[A7], 0x3
0000555C 4EBA E608 jsr [PC - 0x19F8 /* 00003B66 */]
00005560 47EE FDC2 lea.l A3, [A6 - 0x23E]
00005564 45EE FCAC lea.l A2, [A6 - 0x354]
00005568 4247 clr.w D7
0000556A 1E12 move.b D7, [A2]
label0000556C:
0000556C 16DA move.b [A3]+, [A2]+
0000556E 51CF FFFC dbf D7, -0x6 /* 0000556C */
00005572 486E FDC2 pea.l [A6 - 0x23E]
00005576 A884 syscall DrawString
00005578 598F subq.l A7, 4
0000557A 3F3C 03E7 move.w -[A7], 0x3E7
0000557E A9BC syscall GetPicture
00005580 2E1F move.l D7, [A7]+
00005582 2B47 E9F6 move.l [A5 - 0x160A], D7
00005586 598F subq.l A7, 4
00005588 3F3C 03E8 move.w -[A7], 0x3E8
0000558C A9BC syscall GetPicture
0000558E 2E1F move.l D7, [A7]+
00005590 2B47 E9F2 move.l [A5 - 0x160E], D7
00005594 266D E9F6 movea.l A3, [A5 - 0x160A]
00005598 2653 movea.l A3, [A3]
0000559A 2B6B 0002 E9FA move.l [A5 - 0x1606], [A3 + 0x2]
000055A0 2B6B 0006 E9FE move.l [A5 - 0x1602], [A3 + 0x6]
000055A6 486D E9FA pea.l [A5 - 0x1606]
000055AA 3E3C 0018 move.w D7, 0x18
000055AE 9E6D E9FC sub.w D7, [A5 - 0x1604]
000055B2 3F07 move.w -[A7], D7
000055B4 3E3C 0052 move.w D7, 0x52 /* 'R' */
000055B8 9E6D E9FA sub.w D7, [A5 - 0x1606]
000055BC 3F07 move.w -[A7], D7
000055BE A8A8 syscall OffsetRect
000055C0 486E FDB0 pea.l [A6 - 0x250]
000055C4 4267 clr.w -[A7]
000055C6 3F3C 0007 move.w -[A7], 0x7
000055CA 4EBA E9E4 jsr [PC - 0x161C /* 00003FB0 */]
000055CE 598F subq.l A7, 4
000055D0 2F3A 0484 move.l -[A7], [PC + 0x484 /* 00005A56, value 0x54425546 'TBUF' */]
000055D4 3F3C 012D move.w -[A7], 0x12D
000055D8 A9A0 syscall GetResource
000055DA 2E1F move.l D7, [A7]+
000055DC 2B47 E9D8 move.l [A5 - 0x1628], D7
000055E0 2F2D E9D8 move.l -[A7], [A5 - 0x1628]
000055E4 4EBA E66C jsr [PC - 0x1994 /* 00003C52 */]
000055E8 266D EB6A movea.l A3, [A5 - 0x1496]
000055EC 2D6B 0010 FFE0 move.l [A6 - 0x20], [A3 + 0x10]
000055F2 2D6B 0014 FFE4 move.l [A6 - 0x1C], [A3 + 0x14]
000055F8 3E2E FFE4 move.w D7, [A6 - 0x1C]
000055FC 0447 0032 subi.w D7, 0x32 /* '2' */
00005600 3D47 FFE0 move.w [A6 - 0x20], D7
00005604 3E2E FFE2 move.w D7, [A6 - 0x1E]
00005608 0647 0064 addi.w D7, 0x64 /* 'd' */
0000560C 3D47 FFE6 move.w [A6 - 0x1A], D7
00005610 266D E9D8 movea.l A3, [A5 - 0x1628]
00005614 2F13 move.l -[A7], [A3]
00005616 598F subq.l A7, 4
00005618 2F2D E9D8 move.l -[A7], [A5 - 0x1628]
0000561C 4EBA E614 jsr [PC - 0x19EC /* 00003C32 */]
00005620 2E1F move.l D7, [A7]+
00005622 2F07 move.l -[A7], D7
00005624 486E FFE0 pea.l [A6 - 0x20]
00005628 4267 clr.w -[A7]
0000562A A9CE syscall TETextBox/TextBox
0000562C 2F2D E9D8 move.l -[A7], [A5 - 0x1628]
00005630 4EBA E62A jsr [PC - 0x19D6 /* 00003C5C */]
00005634 2F2D E9D8 move.l -[A7], [A5 - 0x1628]
00005638 A9A3 syscall ReleaseResource
0000563A 598F subq.l A7, 4
0000563C 2F3A 0414 move.l -[A7], [PC + 0x414 /* 00005A52, value 0x54425546 'TBUF' */]
00005640 3F3C 00B5 move.w -[A7], 0xB5
00005644 A9A0 syscall GetResource
00005646 2E1F move.l D7, [A7]+
00005648 2B47 E9D8 move.l [A5 - 0x1628], D7
0000564C 2F2D E9D8 move.l -[A7], [A5 - 0x1628]
00005650 4EBA E600 jsr [PC - 0x1A00 /* 00003C52 */]
00005654 486E FFE0 pea.l [A6 - 0x20]
00005658 3F3C 0091 move.w -[A7], 0x91
0000565C 3F3C 0014 move.w -[A7], 0x14
00005660 266D EB6A movea.l A3, [A5 - 0x1496]
00005664 3E2B 0016 move.w D7, [A3 + 0x16]
00005668 0447 000A subi.w D7, 0xA /* '\n' */
0000566C 3F07 move.w -[A7], D7
0000566E 3F3C 00BC move.w -[A7], 0xBC
00005672 A8A7 syscall SetRect
00005674 3F3C 000C move.w -[A7], 0xC
00005678 A88A syscall TextSize
0000567A 3F3C 0003 move.w -[A7], 0x3
0000567E A887 syscall TextFont
00005680 266D E9D8 movea.l A3, [A5 - 0x1628]
00005684 2F13 move.l -[A7], [A3]
00005686 598F subq.l A7, 4
00005688 2F2D E9D8 move.l -[A7], [A5 - 0x1628]
0000568C 4EBA E5A4 jsr [PC - 0x1A5C /* 00003C32 */]
00005690 2E1F move.l D7, [A7]+
00005692 2F07 move.l -[A7], D7
00005694 486E FFE0 pea.l [A6 - 0x20]
00005698 3F3C 0001 move.w -[A7], 0x1
0000569C A9CE syscall TETextBox/TextBox
0000569E 2F2D E9D8 move.l -[A7], [A5 - 0x1628]
000056A2 4EBA E5B8 jsr [PC - 0x1A48 /* 00003C5C */]
000056A6 2F2D E9D8 move.l -[A7], [A5 - 0x1628]
000056AA A9A3 syscall ReleaseResource
000056AC 4267 clr.w -[A7]
000056AE A887 syscall TextFont
label000056B0:
000056B0 4EBA F268 jsr [PC - 0xD98 /* 0000491A */]
000056B4 1F2E 0008 move.b -[A7], [A6 + 0x8]
000056B8 4EBA F11E jsr [PC - 0xEE2 /* 000047D8 */]
000056BC 42A7 clr.l -[A7]
000056BE 486E FFD2 pea.l [A6 - 0x2E]
000056C2 A991 syscall ModalDialog
000056C4 0C6E 0006 FFD2 cmpi.w [A6 - 0x2E], 0x6
000056CA 6600 0046 bne +0x48 /* 00005712 */
000056CE 486E FFE0 pea.l [A6 - 0x20]
000056D2 A8A3 syscall EraseRect
000056D4 486E FFE0 pea.l [A6 - 0x20]
000056D8 3F3C 00B0 move.w -[A7], 0xB0
000056DC 3F3C 0014 move.w -[A7], 0x14
000056E0 3F3C 018A move.w -[A7], 0x18A
000056E4 3F3C 00B2 move.w -[A7], 0xB2
000056E8 A8A7 syscall SetRect
000056EA 486E FFE0 pea.l [A6 - 0x20]
000056EE A8A1 syscall FrameRect
000056F0 486E FFE0 pea.l [A6 - 0x20]
000056F4 3F3C 0003 move.w -[A7], 0x3
000056F8 3F3C 0003 move.w -[A7], 0x3
000056FC A8A9 syscall InsetRect
000056FE 486E FFE0 pea.l [A6 - 0x20]
00005702 486E FDB0 pea.l [A6 - 0x250]
00005706 A8A5 syscall FillRect
00005708 486E FFE0 pea.l [A6 - 0x20]
0000570C A8A1 syscall FrameRect
0000570E 4EBA F284 jsr [PC - 0xD7C /* 00004994 */]
label00005712:
00005712 0C6E 0001 FFD2 cmpi.w [A6 - 0x2E], 0x1
00005718 6600 FF96 bne -0x68 /* 000056B0 */
0000571C 2F2D E9F6 move.l -[A7], [A5 - 0x160A]
00005720 A9A3 syscall ReleaseResource
00005722 2F2D E9F2 move.l -[A7], [A5 - 0x160E]
00005726 A9A3 syscall ReleaseResource
00005728 4EFA 02EE jmp [PC + 0x2EE /* 00005A18 */]
0000572C 598F subq.l A7, 4
0000572E 2F3A 031E move.l -[A7], [PC + 0x31E /* 00005A4E, value 0x54425546 'TBUF' */]
00005732 3F3C 0081 move.w -[A7], 0x81
00005736 A9A0 syscall GetResource
00005738 2E1F move.l D7, [A7]+
0000573A 2B47 E9D8 move.l [A5 - 0x1628], D7
0000573E 2F2D E9D8 move.l -[A7], [A5 - 0x1628]
00005742 4EBA E50E jsr [PC - 0x1AF2 /* 00003C52 */]
00005746 266D EB6E movea.l A3, [A5 - 0x1492]
0000574A 2D6B 0010 FFE0 move.l [A6 - 0x20], [A3 + 0x10]
00005750 2D6B 0014 FFE4 move.l [A6 - 0x1C], [A3 + 0x14]
00005756 486E FFE0 pea.l [A6 - 0x20]
0000575A 3F3C 0005 move.w -[A7], 0x5
0000575E 3F3C 0005 move.w -[A7], 0x5
00005762 A8A9 syscall InsetRect
00005764 3F3C 0009 move.w -[A7], 0x9 /* '\t' */
00005768 A88A syscall TextSize
0000576A 3F3C 0003 move.w -[A7], 0x3
0000576E A887 syscall TextFont
00005770 266D E9D8 movea.l A3, [A5 - 0x1628]
00005774 2F13 move.l -[A7], [A3]
00005776 598F subq.l A7, 4
00005778 2F2D E9D8 move.l -[A7], [A5 - 0x1628]
0000577C 4EBA E4B4 jsr [PC - 0x1B4C /* 00003C32 */]
00005780 2E1F move.l D7, [A7]+
00005782 2F07 move.l -[A7], D7
00005784 486E FFE0 pea.l [A6 - 0x20]
00005788 4267 clr.w -[A7]
0000578A A9CE syscall TETextBox/TextBox
0000578C 2F2D E9D8 move.l -[A7], [A5 - 0x1628]
00005790 4EBA E4CA jsr [PC - 0x1B36 /* 00003C5C */]
00005794 2F2D E9D8 move.l -[A7], [A5 - 0x1628]
00005798 A9A3 syscall ReleaseResource
0000579A 1F2E 0008 move.b -[A7], [A6 + 0x8]
0000579E 4EBA F038 jsr [PC - 0xFC8 /* 000047D8 */]
000057A2 42A7 clr.l -[A7]
000057A4 486E FFD2 pea.l [A6 - 0x2E]
000057A8 A991 syscall ModalDialog
000057AA 4EFA 026C jmp [PC + 0x26C /* 00005A18 */]
000057AE 1F3C 0003 move.b -[A7], 0x3
000057B2 4EBA F024 jsr [PC - 0xFDC /* 000047D8 */]
000057B6 42A7 clr.l -[A7]
000057B8 486E FFD2 pea.l [A6 - 0x2E]
000057BC A991 syscall ModalDialog
000057BE 4EFA 0258 jmp [PC + 0x258 /* 00005A18 */]
000057C2 3D6D EA04 FFD6 move.w [A6 - 0x2A], [A5 - 0x15FC]
000057C8 266D E9B8 movea.l A3, [A5 - 0x1648]
000057CC 2653 movea.l A3, [A3]
000057CE 2D6B 0002 FFE8 move.l [A6 - 0x18], [A3 + 0x2]
000057D4 2D6B 0006 FFEC move.l [A6 - 0x14], [A3 + 0x6]
000057DA 486E FFE8 pea.l [A6 - 0x18]
000057DE 3E3C 007F move.w D7, 0x7F
000057E2 9E6E FFEA sub.w D7, [A6 - 0x16]
000057E6 3F07 move.w -[A7], D7
000057E8 3E3C 00C7 move.w D7, 0xC7
000057EC 9E6E FFE8 sub.w D7, [A6 - 0x18]
000057F0 3F07 move.w -[A7], D7
000057F2 A8A8 syscall OffsetRect
000057F4 2F2D EB7A move.l -[A7], [A5 - 0x1486]
000057F8 3F3C 0003 move.w -[A7], 0x3
000057FC 486E FFD4 pea.l [A6 - 0x2C]
00005800 486E FFCA pea.l [A6 - 0x36]
00005804 486E FFE0 pea.l [A6 - 0x20]
00005808 A98D syscall GetDialogItem/GetDItem
label0000580A:
0000580A 266D EB7A movea.l A3, [A5 - 0x1486]
0000580E 2D6B 0010 FFE0 move.l [A6 - 0x20], [A3 + 0x10]
00005814 2D6B 0014 FFE4 move.l [A6 - 0x1C], [A3 + 0x14]
0000581A 486E FFE0 pea.l [A6 - 0x20]
0000581E 4267 clr.w -[A7]
00005820 3F3C 0028 move.w -[A7], 0x28 /* '(' */
00005824 A8A9 syscall InsetRect
00005826 486E FFE0 pea.l [A6 - 0x20]
0000582A A8A3 syscall EraseRect
0000582C 4EBA F7DE jsr [PC - 0x822 /* 0000500C */]
00005830 3E2E FFE6 move.w D7, [A6 - 0x1A]
00005834 9E6D FDE2 sub.w D7, [A5 - 0x21E]
00005838 48C7 ext.l D7
0000583A 8FFC 0002 divs.w D7, 0x2
0000583E 0647 FFF6 addi.w D7, 0xFFF6
00005842 3D47 FFE2 move.w [A6 - 0x1E], D7
00005846 3E2E FFE0 move.w D7, [A6 - 0x20]
0000584A 0447 000E subi.w D7, 0xE
0000584E 3C2E FFE4 move.w D6, [A6 - 0x1C]
00005852 9C6E FFE0 sub.w D6, [A6 - 0x20]
00005856 9C6D FDE0 sub.w D6, [A5 - 0x220]
0000585A 48C6 ext.l D6
0000585C 8DFC 0002 divs.w D6, 0x2
00005860 DC47 add.w D6, D7
00005862 3D46 FFE0 move.w [A6 - 0x20], D6
00005866 486E FDB0 pea.l [A6 - 0x250]
0000586A 4267 clr.w -[A7]
0000586C 3F3C 001A move.w -[A7], 0x1A
00005870 4EBA E73E jsr [PC - 0x18C2 /* 00003FB0 */]
00005874 3E3C 0001 move.w D7, 0x1
00005878 3D47 FFD4 move.w [A6 - 0x2C], D7
0000587C BE6D FCEE cmp.w D7, [A5 - 0x312]
00005880 6E00 00BA bgt +0xBC /* 0000593C */
00005884 3D6D FCEE FCAC move.w [A6 - 0x354], [A5 - 0x312]
label0000588A:
0000588A 2F2E FFE0 move.l -[A7], [A6 - 0x20]
0000588E 3C07 move.w D6, D7
00005890 5346 subq.w D6, 1
00005892 E54E lsl D6.w, 2
00005894 47ED FD68 lea.l A3, [A5 - 0x298]
00005898 4873 6000 pea.l [A3 + D6.w]
0000589C A87E syscall AddPt
0000589E 3C07 move.w D6, D7
000058A0 5346 subq.w D6, 1
000058A2 E54E lsl D6.w, 2
000058A4 47ED FCF0 lea.l A3, [A5 - 0x310]
000058A8 2F33 6000 move.l -[A7], [A3 + D6.w]
000058AC 3C07 move.w D6, D7
000058AE 5346 subq.w D6, 1
000058B0 E54E lsl D6.w, 2
000058B2 47ED FD68 lea.l A3, [A5 - 0x298]
000058B6 3A07 move.w D5, D7
000058B8 5345 subq.w D5, 1
000058BA E54D lsl D5.w, 2
000058BC 45ED FCF0 lea.l A2, [A5 - 0x310]
000058C0 2472 5000 movea.l A2, [A2 + D5.w]
000058C4 2452 movea.l A2, [A2]
000058C6 3A33 6002 move.w D5, [A3 + D6.w + 0x2]
000058CA 9A6A 0004 sub.w D5, [A2 + 0x4]
000058CE 3F05 move.w -[A7], D5
000058D0 3C07 move.w D6, D7
000058D2 5346 subq.w D6, 1
000058D4 E54E lsl D6.w, 2
000058D6 47ED FD68 lea.l A3, [A5 - 0x298]
000058DA 3A07 move.w D5, D7
000058DC 5345 subq.w D5, 1
000058DE E54D lsl D5.w, 2
000058E0 45ED FCF0 lea.l A2, [A5 - 0x310]
000058E4 2472 5000 movea.l A2, [A2 + D5.w]
000058E8 2452 movea.l A2, [A2]
000058EA 3A33 6000 move.w D5, [A3 + D6.w]
000058EE 9A6A 0002 sub.w D5, [A2 + 0x2]
000058F2 3F05 move.w -[A7], D5
000058F4 A8E0 syscall OffsetRgn/OfsetRgn
000058F6 3C07 move.w D6, D7
000058F8 5346 subq.w D6, 1
000058FA E54E lsl D6.w, 2
000058FC 47ED FCF0 lea.l A3, [A5 - 0x310]
00005900 2F33 6000 move.l -[A7], [A3 + D6.w]
00005904 486E FDB0 pea.l [A6 - 0x250]
00005908 A8D6 syscall FillRgn
0000590A 3C07 move.w D6, D7
0000590C 5346 subq.w D6, 1
0000590E E54E lsl D6.w, 2
00005910 47ED FCF0 lea.l A3, [A5 - 0x310]
00005914 2F33 6000 move.l -[A7], [A3 + D6.w]
00005918 A8D2 syscall FrameRgn
0000591A 3C07 move.w D6, D7
0000591C 5346 subq.w D6, 1
0000591E E54E lsl D6.w, 2
00005920 47ED FCF0 lea.l A3, [A5 - 0x310]
00005924 2F33 6000 move.l -[A7], [A3 + D6.w]
00005928 A9A3 syscall ReleaseResource
0000592A BE6E FCAC cmp.w D7, [A6 - 0x354]
0000592E 6C00 000C bge +0xE /* 0000593C */
00005932 5247 addq.w D7, 1
00005934 3D47 FFD4 move.w [A6 - 0x2C], D7
00005938 4EFA FF50 jmp [PC - 0xB0 /* 0000588A */]
label0000593C:
0000593C 4A2D E9B2 tst.b [A5 - 0x164E]
00005940 6700 0030 beq +0x32 /* 00005972 */
00005944 0C6D 0002 EA04 cmpi.w [A5 - 0x15FC], 0x2
0000594A 57C7 seq D7
0000594C 4407 neg.b D7
0000594E 0C6D 0003 EA04 cmpi.w [A5 - 0x15FC], 0x3
00005954 57C6 seq D6
00005956 4406 neg.b D6
00005958 8C07 or.b D6, D7
0000595A 6700 0016 beq +0x18 /* 00005972 */
0000595E 2F2D E9B8 move.l -[A7], [A5 - 0x1648]
00005962 486E FFE8 pea.l [A6 - 0x18]
00005966 A8F6 syscall DrawPicture
00005968 2F2E FFCA move.l -[A7], [A6 - 0x36]
0000596C 3F3C 00FF move.w -[A7], 0xFF
00005970 A95D syscall HiliteControl
label00005972:
00005972 1F2E 0008 move.b -[A7], [A6 + 0x8]
00005976 4EBA EE60 jsr [PC - 0x11A0 /* 000047D8 */]
0000597A 42A7 clr.l -[A7]
0000597C 486E FFD2 pea.l [A6 - 0x2E]
00005980 A991 syscall ModalDialog
00005982 4EFA 0036 jmp [PC + 0x36 /* 000059BA */]
label00005986:
00005986 3B6E FFD6 EA04 move.w [A5 - 0x15FC], [A6 - 0x2A]
0000598C 4EFA 0040 jmp [PC + 0x40 /* 000059CE */]
label00005990:
00005990 0C6D 0004 EA04 cmpi.w [A5 - 0x15FC], 0x4
00005996 6C00 000A bge +0xC /* 000059A2 */
0000599A 526D EA04 addq.w [A5 - 0x15FC], 1
0000599E 4EFA 0008 jmp [PC + 0x8 /* 000059A8 */]
label000059A2:
000059A2 3B7C 0001 EA04 move.w [A5 - 0x15FC], 0x1
label000059A8:
000059A8 486E FFE8 pea.l [A6 - 0x18]
000059AC A8A3 syscall EraseRect
000059AE 2F2E FFCA move.l -[A7], [A6 - 0x36]
000059B2 4267 clr.w -[A7]
000059B4 A95D syscall HiliteControl
000059B6 4EFA 0016 jmp [PC + 0x16 /* 000059CE */]
label000059BA:
000059BA 3E2E FFD2 move.w D7, [A6 - 0x2E]
000059BE 0C47 0001 cmpi.w D7, 0x1
000059C2 6700 FFC2 beq -0x3C /* 00005986 */
000059C6 0C47 0002 cmpi.w D7, 0x2
000059CA 6700 FFC4 beq -0x3A /* 00005990 */
label000059CE:
000059CE 0C6E 0001 FFD2 cmpi.w [A6 - 0x2E], 0x1
000059D4 57C7 seq D7
000059D6 4407 neg.b D7
000059D8 0C6E 0003 FFD2 cmpi.w [A6 - 0x2E], 0x3
000059DE 57C6 seq D6
000059E0 4406 neg.b D6
000059E2 8C07 or.b D6, D7
000059E4 6700 FE24 beq -0x1DA /* 0000580A */
000059E8 4EFA 002E jmp [PC + 0x2E /* 00005A18 */]
label000059EC:
000059EC 4247 clr.w D7
000059EE 1E2E 0008 move.b D7, [A6 + 0x8]
000059F2 0C07 0000 cmpi.b D7, 0x0
000059F6 6D00 0020 blt +0x22 /* 00005A18 */
000059FA 0C07 0005 cmpi.b D7, 0x5
000059FE 6E00 0018 bgt +0x1A /* 00005A18 */
00005A02 DE47 add.w D7, D7
00005A04 3E3B 7006 move.w D7, [PC + D7.w + 0x6]
00005A08 4EFB 7002 jmp [PC + D7.w + 0x2]
00005A0C FAE0 FD20 .extension 0xAE0 <<F/2-3/5>> // unimplemented
00005A10 FA5E FDA2 .extension 0xA5E <<F/1/5>>, 0xFDA2 // unimplemented
00005A14 FDB6 .invalid <<F/6/6>>
00005A16 F822 4247 .tblXX 0xF822, 0x4247 // unimplemented
// begin alternate branch 00005A18-00005A1A
label00005A18:
00005A18 4247 clr.w D7
// end alternate branch 00005A18-00005A1A
label00005A18: // (misaligned)
00005A1A 1E2E 0008 move.b D7, [A6 + 0x8]
00005A1E E54F lsl D7.w, 2
00005A20 47ED EB6A lea.l A3, [A5 - 0x1496]
00005A24 2F33 7000 move.l -[A7], [A3 + D7.w]
00005A28 A916 syscall HideWindow
00005A2A 4247 clr.w D7
00005A2C 1E2E 0008 move.b D7, [A6 + 0x8]
00005A30 E54F lsl D7.w, 2
00005A32 47ED EB6A lea.l A3, [A5 - 0x1496]
00005A36 2F33 7000 move.l -[A7], [A3 + D7.w]
00005A3A A983 syscall DisposeDialog
00005A3C 2F2E FFCE move.l -[A7], [A6 - 0x32]
00005A40 A873 syscall SetPort
00005A42 4CDF 1CE0 movem.l D5,D6,D7,A2,A3,A4, [A7]+
00005A46 4E5E unlink A6
00005A48 205F movea.l A0, [A7]+
00005A4A 548F addq.l A7, 2
00005A4C 4ED0 jmp [A0]
00005A4E 5442 addq.w D2, 2
00005A50 5546 subq.w D6, 2
00005A52 5442 addq.w D2, 2
00005A54 5546 subq.w D6, 2
00005A56 5442 addq.w D2, 2
00005A58 5546 subq.w D6, 2
00005A5A 014B bchg A3, D0
00005A5C 204C movea.l A0, A4
00005A5E 6172 bsr +0x74 /* 00005AD2 */
00005A60 6765 beq +0x67 /* 00005AC7 */
00005A62 7374 moveq.l D1, 0x74
00005A64 2066 movea.l A0, -[A6]
00005A66 7265 moveq.l D1, 0x65
00005A68 6520 bcs +0x22 /* 00005A8A */
00005A6A 626C bhi +0x6E /* 00005AD8 */
00005A6C 6F63 ble +0x65 /* 00005AD1 */
00005A6E 6B20 bmi +0x22 /* 00005A90 */
00005A70 6973 bvs +0x75 /* 00005AE5 */
00005A72 2061 movea.l A0, -[A1]
00005A74 7420 moveq.l D2, 0x20
00005A76 6C65 bge +0x67 /* 00005ADD */
00005A78 6173 bsr +0x75 /* 00005AED */
00005A7A 743A moveq.l D2, 0x3A
00005A7C 2000 move.l D0, D0
00005A7E 5442 addq.w D2, 2
00005A80 5546 subq.w D6, 2
fn00005A82:
00005A82 4E56 FFF6 link A6, -0x000A
00005A86 48E7 0708 movem.l -[A7], D5,D6,D7,A4
label00005A8A:
00005A8A 0C6D 0000 EDBA cmpi.w [A5 - 0x1246], 0x0
label00005A90:
00005A90 6F00 00F0 ble +0xF2 /* 00005B82 */
00005A94 558F subq.l A7, 2
00005A96 2F2D EEFC move.l -[A7], [A5 - 0x1104]
00005A9A A962 syscall GetControlMaximum/GetMaxCtl
00005A9C 3E1F move.w D7, [A7]+
00005A9E 3D47 FFFE move.w [A6 - 0x2], D7
00005AA2 426E FFFA clr.w [A6 - 0x6]
00005AA6 3E3C 0002 move.w D7, 0x2
00005AAA 3D47 FFF8 move.w [A6 - 0x8], D7
00005AAE BE6D EDCE cmp.w D7, [A5 - 0x1232]
00005AB2 6E00 0040 bgt +0x42 /* 00005AF4 */
00005AB6 3D6D EDCE FFF6 move.w [A6 - 0xA], [A5 - 0x1232]
label00005ABC:
00005ABC 3C07 move.w D6, D7
00005ABE 5346 subq.w D6, 1
00005AC0 DC46 add.w D6, D6
00005AC2 49ED EDD0 lea.l A4, [A5 - 0x1230]
00005AC6 3A34 6000 move.w D5, [A4 + D6.w]
00005ACA 5345 subq.w D5, 1
00005ACC CBFC 0012 muls.w D5, 0x12
00005AD0 49ED EF00 lea.l A4, [A5 - 0x1100]
// begin alternate branch 00005AD2-00005AD4
fn00005AD2:
00005AD2 EF00 asl D0.b, 7
// end alternate branch 00005AD2-00005AD4
fn00005AD2: // (misaligned)
00005AD4 0C74 0001 5010 cmpi.w [A4 + D5.w + 0x10], 0x1
// begin alternate branch 00005AD8-00005ADA
label00005AD8:
00005AD8 5010 addq.b [A0], 8
// end alternate branch 00005AD8-00005ADA
label00005AD8: // (misaligned)
00005ADA 6600 0006 bne +0x8 /* 00005AE2 */
00005ADE 526E FFFA addq.w [A6 - 0x6], 1
label00005AE2:
00005AE2 BE6E FFF6 cmp.w D7, [A6 - 0xA]
00005AE6 6C00 000C bge +0xE /* 00005AF4 */
00005AEA 5247 addq.w D7, 1
00005AEC 3D47 FFF8 move.w [A6 - 0x8], D7
00005AF0 4EFA FFCA jmp [PC - 0x36 /* 00005ABC */]
label00005AF4:
00005AF4 3D6E FFFA FFFC move.w [A6 - 0x4], [A6 - 0x6]
00005AFA 3C2D EDCE move.w D6, [A5 - 0x1232]
00005AFE 5246 addq.w D6, 1
00005B00 3E06 move.w D7, D6
00005B02 3D47 FFF8 move.w [A6 - 0x8], D7
00005B06 BE6D EDCC cmp.w D7, [A5 - 0x1234]
00005B0A 6E00 0040 bgt +0x42 /* 00005B4C */
00005B0E 3D6D EDCC FFF6 move.w [A6 - 0xA], [A5 - 0x1234]
label00005B14:
00005B14 3C07 move.w D6, D7
00005B16 5346 subq.w D6, 1
00005B18 DC46 add.w D6, D6
00005B1A 49ED EDD0 lea.l A4, [A5 - 0x1230]
00005B1E 3A34 6000 move.w D5, [A4 + D6.w]
00005B22 5345 subq.w D5, 1
00005B24 CBFC 0012 muls.w D5, 0x12
00005B28 49ED EF00 lea.l A4, [A5 - 0x1100]
00005B2C 0C74 0001 5010 cmpi.w [A4 + D5.w + 0x10], 0x1
00005B32 6600 0006 bne +0x8 /* 00005B3A */
00005B36 526E FFFA addq.w [A6 - 0x6], 1
label00005B3A:
00005B3A BE6E FFF6 cmp.w D7, [A6 - 0xA]
00005B3E 6C00 000C bge +0xE /* 00005B4C */
00005B42 5247 addq.w D7, 1
00005B44 3D47 FFF8 move.w [A6 - 0x8], D7
00005B48 4EFA FFCA jmp [PC - 0x36 /* 00005B14 */]
label00005B4C:
00005B4C 3E2E FFFA move.w D7, [A6 - 0x6]
00005B50 BE6D EDBA cmp.w D7, [A5 - 0x1246]
00005B54 6600 000C bne +0xE /* 00005B62 */
00005B58 3D6E FFFE FFF8 move.w [A6 - 0x8], [A6 - 0x2]
00005B5E 4EFA 0014 jmp [PC + 0x14 /* 00005B74 */]
label00005B62:
00005B62 3E2E FFFC move.w D7, [A6 - 0x4]
00005B66 CFEE FFFE muls.w D7, [A6 - 0x2]
00005B6A 48C7 ext.l D7
00005B6C 8FED EDBA divs.w D7, [A5 - 0x1246]
00005B70 3D47 FFF8 move.w [A6 - 0x8], D7
label00005B74:
00005B74 2F2D EEFC move.l -[A7], [A5 - 0x1104]
00005B78 3F2E FFF8 move.w -[A7], [A6 - 0x8]
00005B7C A963 syscall SetControlValue/SetCtlValue
00005B7E 4EFA 000A jmp [PC + 0xA /* 00005B8A */]
label00005B82:
00005B82 2F2D EEFC move.l -[A7], [A5 - 0x1104]
00005B86 4267 clr.w -[A7]
00005B88 A963 syscall SetControlValue/SetCtlValue
label00005B8A:
00005B8A 4CDF 10E0 movem.l D5,D6,D7,A4, [A7]+
00005B8E 4E5E unlink A6
00005B90 4E75 rts
fn00005B92:
00005B92 4E56 FFFA link A6, -0x0006
00005B96 48E7 0708 movem.l -[A7], D5,D6,D7,A4
label00005B9A:
00005B9A 526D EDCC addq.w [A5 - 0x1234], 1
00005B9E 3E2D EDCC move.w D7, [A5 - 0x1234]
00005BA2 BE6D F98C cmp.w D7, [A5 - 0x674]
00005BA6 6F00 0006 ble +0x8 /* 00005BAE */
00005BAA 4EFA 0026 jmp [PC + 0x26 /* 00005BD2 */]
label00005BAE:
00005BAE 3E2D EDCC move.w D7, [A5 - 0x1234]
00005BB2 5347 subq.w D7, 1
00005BB4 DE47 add.w D7, D7
00005BB6 49ED EDD0 lea.l A4, [A5 - 0x1230]
00005BBA 3C34 7000 move.w D6, [A4 + D7.w]
00005BBE 5346 subq.w D6, 1
00005BC0 CDFC 0012 muls.w D6, 0x12
00005BC4 49ED EF00 lea.l A4, [A5 - 0x1100]
00005BC8 0C74 0001 6010 cmpi.w [A4 + D6.w + 0x10], 0x1
00005BCE 6600 FFCA bne -0x34 /* 00005B9A */
label00005BD2:
00005BD2 426D EDB8 clr.w [A5 - 0x1248]
00005BD6 3E2D EDCC move.w D7, [A5 - 0x1234]
00005BDA BE6D F98C cmp.w D7, [A5 - 0x674]
00005BDE 6E00 00F8 bgt +0xFA /* 00005CD8 */
00005BE2 3B6D EDCC EDCE move.w [A5 - 0x1232], [A5 - 0x1234]
00005BE8 3D6D EDC4 FFFC move.w [A6 - 0x4], [A5 - 0x123C]
label00005BEE:
00005BEE 526D EDB8 addq.w [A5 - 0x1248], 1
00005BF2 3E2D EDCC move.w D7, [A5 - 0x1234]
00005BF6 5347 subq.w D7, 1
00005BF8 DE47 add.w D7, D7
00005BFA 49ED EDD0 lea.l A4, [A5 - 0x1230]
00005BFE 3C34 7000 move.w D6, [A4 + D7.w]
00005C02 5346 subq.w D6, 1
00005C04 CDFC 0012 muls.w D6, 0x12
00005C08 49ED EF00 lea.l A4, [A5 - 0x1100]
00005C0C 2F34 6000 move.l -[A7], [A4 + D6.w]
00005C10 4267 clr.w -[A7]
00005C12 3E2E FFFC move.w D7, [A6 - 0x4]
00005C16 5447 addq.w D7, 2
00005C18 3C2D EDCC move.w D6, [A5 - 0x1234]
00005C1C 5346 subq.w D6, 1
00005C1E DC46 add.w D6, D6
00005C20 49ED EDD0 lea.l A4, [A5 - 0x1230]
00005C24 3A34 6000 move.w D5, [A4 + D6.w]
00005C28 5345 subq.w D5, 1
00005C2A CBFC 0012 muls.w D5, 0x12
00005C2E 49ED EF00 lea.l A4, [A5 - 0x1100]
00005C32 2874 5000 movea.l A4, [A4 + D5.w]
00005C36 2854 movea.l A4, [A4]
00005C38 9E6C 0002 sub.w D7, [A4 + 0x2]
00005C3C 3F07 move.w -[A7], D7
00005C3E A8E0 syscall OffsetRgn/OfsetRgn
00005C40 3E2D EDCC move.w D7, [A5 - 0x1234]
00005C44 5347 subq.w D7, 1
00005C46 DE47 add.w D7, D7
00005C48 49ED EDD0 lea.l A4, [A5 - 0x1230]
00005C4C 3C34 7000 move.w D6, [A4 + D7.w]
00005C50 5346 subq.w D6, 1
00005C52 CDFC 0012 muls.w D6, 0x12
00005C56 49ED EF00 lea.l A4, [A5 - 0x1100]
00005C5A 2874 6000 movea.l A4, [A4 + D6.w]
00005C5E 2854 movea.l A4, [A4]
00005C60 3D6C 0006 FFFC move.w [A6 - 0x4], [A4 + 0x6]
00005C66 3D6D EDCC FFFE move.w [A6 - 0x2], [A5 - 0x1234]
label00005C6C:
00005C6C 526D EDCC addq.w [A5 - 0x1234], 1
00005C70 3E2D EDCC move.w D7, [A5 - 0x1234]
00005C74 BE6D F98C cmp.w D7, [A5 - 0x674]
00005C78 6F00 0006 ble +0x8 /* 00005C80 */
00005C7C 4EFA 0026 jmp [PC + 0x26 /* 00005CA4 */]
label00005C80:
00005C80 3E2D EDCC move.w D7, [A5 - 0x1234]
00005C84 5347 subq.w D7, 1
00005C86 DE47 add.w D7, D7
00005C88 49ED EDD0 lea.l A4, [A5 - 0x1230]
00005C8C 3C34 7000 move.w D6, [A4 + D7.w]
00005C90 5346 subq.w D6, 1
00005C92 CDFC 0012 muls.w D6, 0x12
00005C96 49ED EF00 lea.l A4, [A5 - 0x1100]
00005C9A 0C74 0001 6010 cmpi.w [A4 + D6.w + 0x10], 0x1
00005CA0 6600 FFCA bne -0x34 /* 00005C6C */
label00005CA4:
00005CA4 3E2D EDCC move.w D7, [A5 - 0x1234]
00005CA8 BE6D F98C cmp.w D7, [A5 - 0x674]
00005CAC 6F00 0006 ble +0x8 /* 00005CB4 */
00005CB0 4EFA 0012 jmp [PC + 0x12 /* 00005CC4 */]
label00005CB4:
00005CB4 3E2D EDC8 move.w D7, [A5 - 0x1238]
00005CB8 9E6E FFFC sub.w D7, [A6 - 0x4]
00005CBC 0C47 0028 cmpi.w D7, 0x28 /* '(' */
00005CC0 6C00 FF2C bge -0xD2 /* 00005BEE */
label00005CC4:
00005CC4 3B6E FFFE EDCC move.w [A5 - 0x1234], [A6 - 0x2]
00005CCA 4EBA FDB6 jsr [PC - 0x24A /* 00005A82 */]
00005CCE 486D EDC4 pea.l [A5 - 0x123C]
00005CD2 A928 syscall InvalRect
00005CD4 4EFA 0008 jmp [PC + 0x8 /* 00005CDE */]
label00005CD8:
00005CD8 3B6D F98C EDCC move.w [A5 - 0x1234], [A5 - 0x674]
label00005CDE:
00005CDE 4CDF 10E0 movem.l D5,D6,D7,A4, [A7]+
00005CE2 4E5E unlink A6
00005CE4 4E75 rts
fn00005CE6:
00005CE6 4E56 FFF8 link A6, -0x0008
00005CEA 48E7 0708 movem.l -[A7], D5,D6,D7,A4
label00005CEE:
00005CEE 536D EDCE subq.w [A5 - 0x1232], 1
00005CF2 0C6D 0002 EDCE cmpi.w [A5 - 0x1232], 0x2
00005CF8 6C00 0006 bge +0x8 /* 00005D00 */
00005CFC 4EFA 0026 jmp [PC + 0x26 /* 00005D24 */]
label00005D00:
00005D00 3E2D EDCE move.w D7, [A5 - 0x1232]
00005D04 5347 subq.w D7, 1
00005D06 DE47 add.w D7, D7
00005D08 49ED EDD0 lea.l A4, [A5 - 0x1230]
00005D0C 3C34 7000 move.w D6, [A4 + D7.w]
00005D10 5346 subq.w D6, 1
00005D12 CDFC 0012 muls.w D6, 0x12
00005D16 49ED EF00 lea.l A4, [A5 - 0x1100]
00005D1A 0C74 0001 6010 cmpi.w [A4 + D6.w + 0x10], 0x1
00005D20 6600 FFCC bne -0x32 /* 00005CEE */
label00005D24:
00005D24 426D EDB8 clr.w [A5 - 0x1248]
00005D28 0C6D 0002 EDCE cmpi.w [A5 - 0x1232], 0x2
00005D2E 6D00 0110 blt +0x112 /* 00005E40 */
00005D32 3B6D EDCE EDCC move.w [A5 - 0x1234], [A5 - 0x1232]
00005D38 3D6D EDC8 FFFC move.w [A6 - 0x4], [A5 - 0x1238]
label00005D3E:
00005D3E 526D EDB8 addq.w [A5 - 0x1248], 1
00005D42 3E2D EDCE move.w D7, [A5 - 0x1232]
00005D46 5347 subq.w D7, 1
00005D48 DE47 add.w D7, D7
00005D4A 49ED EDD0 lea.l A4, [A5 - 0x1230]
00005D4E 3C34 7000 move.w D6, [A4 + D7.w]
00005D52 5346 subq.w D6, 1
00005D54 CDFC 0012 muls.w D6, 0x12
00005D58 49ED EF00 lea.l A4, [A5 - 0x1100]
00005D5C 2F34 6000 move.l -[A7], [A4 + D6.w]
00005D60 4267 clr.w -[A7]
00005D62 3E2E FFFC move.w D7, [A6 - 0x4]
00005D66 5547 subq.w D7, 2
00005D68 3C2D EDCE move.w D6, [A5 - 0x1232]
00005D6C 5346 subq.w D6, 1
00005D6E DC46 add.w D6, D6
00005D70 49ED EDD0 lea.l A4, [A5 - 0x1230]
00005D74 3A34 6000 move.w D5, [A4 + D6.w]
00005D78 5345 subq.w D5, 1
00005D7A CBFC 0012 muls.w D5, 0x12
00005D7E 49ED EF00 lea.l A4, [A5 - 0x1100]
00005D82 2874 5000 movea.l A4, [A4 + D5.w]
00005D86 2854 movea.l A4, [A4]
00005D88 9E6C 0006 sub.w D7, [A4 + 0x6]
00005D8C 3F07 move.w -[A7], D7
00005D8E A8E0 syscall OffsetRgn/OfsetRgn
00005D90 3E2D EDCE move.w D7, [A5 - 0x1232]
00005D94 5347 subq.w D7, 1
00005D96 DE47 add.w D7, D7
00005D98 49ED EDD0 lea.l A4, [A5 - 0x1230]
00005D9C 3C34 7000 move.w D6, [A4 + D7.w]
00005DA0 5346 subq.w D6, 1
00005DA2 CDFC 0012 muls.w D6, 0x12
00005DA6 49ED EF00 lea.l A4, [A5 - 0x1100]
00005DAA 2874 6000 movea.l A4, [A4 + D6.w]
00005DAE 2854 movea.l A4, [A4]
00005DB0 3D6C 0002 FFFC move.w [A6 - 0x4], [A4 + 0x2]
00005DB6 3D6D EDCE FFFE move.w [A6 - 0x2], [A5 - 0x1232]
label00005DBC:
00005DBC 536D EDCE subq.w [A5 - 0x1232], 1
00005DC0 0C6D 0002 EDCE cmpi.w [A5 - 0x1232], 0x2
00005DC6 6C00 0006 bge +0x8 /* 00005DCE */
00005DCA 4EFA 0026 jmp [PC + 0x26 /* 00005DF2 */]
label00005DCE:
00005DCE 3E2D EDCE move.w D7, [A5 - 0x1232]
00005DD2 5347 subq.w D7, 1
00005DD4 DE47 add.w D7, D7
00005DD6 49ED EDD0 lea.l A4, [A5 - 0x1230]
00005DDA 3C34 7000 move.w D6, [A4 + D7.w]
00005DDE 5346 subq.w D6, 1
00005DE0 CDFC 0012 muls.w D6, 0x12
00005DE4 49ED EF00 lea.l A4, [A5 - 0x1100]
00005DE8 0C74 0001 6010 cmpi.w [A4 + D6.w + 0x10], 0x1
00005DEE 6600 FFCC bne -0x32 /* 00005DBC */
label00005DF2:
00005DF2 0C6D 0002 EDCE cmpi.w [A5 - 0x1232], 0x2
00005DF8 6C00 0006 bge +0x8 /* 00005E00 */
00005DFC 4EFA 0012 jmp [PC + 0x12 /* 00005E10 */]
label00005E00:
00005E00 3E2E FFFC move.w D7, [A6 - 0x4]
00005E04 9E6D EDC4 sub.w D7, [A5 - 0x123C]
00005E08 0C47 0032 cmpi.w D7, 0x32 /* '2' */
00005E0C 6C00 FF30 bge -0xCE /* 00005D3E */
label00005E10:
00005E10 0C6D 0002 EDCE cmpi.w [A5 - 0x1232], 0x2
00005E16 6E00 0014 bgt +0x16 /* 00005E2C */
00005E1A 2F2D EEFC move.l -[A7], [A5 - 0x1104]
00005E1E 4267 clr.w -[A7]
00005E20 A963 syscall SetControlValue/SetCtlValue
00005E22 3B6E FFFE EDCE move.w [A5 - 0x1232], [A6 - 0x2]
00005E28 4EFA 000C jmp [PC + 0xC /* 00005E36 */]
label00005E2C:
00005E2C 3B6E FFFE EDCE move.w [A5 - 0x1232], [A6 - 0x2]
00005E32 4EBA FC4E jsr [PC - 0x3B2 /* 00005A82 */]
label00005E36:
00005E36 486D EDC4 pea.l [A5 - 0x123C]
00005E3A A928 syscall InvalRect
00005E3C 4EFA 0008 jmp [PC + 0x8 /* 00005E46 */]
label00005E40:
00005E40 3B7C 0002 EDCE move.w [A5 - 0x1232], 0x2
label00005E46:
00005E46 4CDF 10E0 movem.l D5,D6,D7,A4, [A7]+
00005E4A 4E5E unlink A6
00005E4C 4E75 rts
fn00005E4E:
00005E4E 4E56 FCF0 link A6, -0x0310
00005E52 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00005E56 486E FFFC pea.l [A6 - 0x4]
00005E5A A874 syscall GetPort
00005E5C 2F2D F9B2 move.l -[A7], [A5 - 0x64E]
00005E60 A873 syscall SetPort
00005E62 286D EA40 movea.l A4, [A5 - 0x15C0]
00005E66 2854 movea.l A4, [A4]
00005E68 4247 clr.w D7
00005E6A 1E2E 0008 move.b D7, [A6 + 0x8]
00005E6E E74F lsl D7.w, 3
00005E70 49EC 000C lea.l A4, [A4 + 0xC]
00005E74 2D74 7000 FFF4 move.l [A6 - 0xC], [A4 + D7.w]
00005E7A 2D74 7004 FFF8 move.l [A6 - 0x8], [A4 + D7.w + 0x4]
00005E80 486E FFF4 pea.l [A6 - 0xC]
00005E84 3F3C 0001 move.w -[A7], 0x1
00005E88 3F3C 0001 move.w -[A7], 0x1
00005E8C A8A9 syscall InsetRect
00005E8E 486E FFF4 pea.l [A6 - 0xC]
00005E92 A87B syscall ClipRect
00005E94 4EFA 02AA jmp [PC + 0x2AA /* 00006140 */]
label00005E98:
00005E98 4247 clr.w D7
00005E9A 1E2E 0008 move.b D7, [A6 + 0x8]
00005E9E E54F lsl D7.w, 2
00005EA0 49ED EA0A lea.l A4, [A5 - 0x15F6]
00005EA4 2F34 7000 move.l -[A7], [A4 + D7.w]
00005EA8 486E FDF4 pea.l [A6 - 0x20C]
00005EAC 4EBA E0AA jsr [PC - 0x1F56 /* 00003F58 */]
00005EB0 3E2E FFFA move.w D7, [A6 - 0x6]
00005EB4 5747 subq.w D7, 3
00005EB6 558F subq.l A7, 2
00005EB8 486E FDF4 pea.l [A6 - 0x20C]
00005EBC A88C syscall StringWidth
00005EBE 3C1F move.w D6, [A7]+
00005EC0 9E46 sub.w D7, D6
00005EC2 3F07 move.w -[A7], D7
00005EC4 3E2E FFF8 move.w D7, [A6 - 0x8]
00005EC8 5547 subq.w D7, 2
00005ECA 3F07 move.w -[A7], D7
00005ECC A893 syscall MoveTo
00005ECE 486E FFF4 pea.l [A6 - 0xC]
00005ED2 A8A3 syscall EraseRect
00005ED4 486E FDF4 pea.l [A6 - 0x20C]
00005ED8 A884 syscall DrawString
00005EDA 4EFA 028A jmp [PC + 0x28A /* 00006166 */]
label00005EDE:
00005EDE 4247 clr.w D7
00005EE0 1E2E 0008 move.b D7, [A6 + 0x8]
00005EE4 E54F lsl D7.w, 2
00005EE6 49ED EA0A lea.l A4, [A5 - 0x15F6]
00005EEA 598F subq.l A7, 4
00005EEC 2F34 7000 move.l -[A7], [A4 + D7.w]
00005EF0 2F3C 0000 003C move.l -[A7], 0x3C /* '<' */
00005EF6 4EBA DBFC jsr [PC - 0x2404 /* 00003AF4 */]
00005EFA 2E1F move.l D7, [A7]+
00005EFC 2F07 move.l -[A7], D7
00005EFE 486E FDF4 pea.l [A6 - 0x20C]
00005F02 4EBA E054 jsr [PC - 0x1FAC /* 00003F58 */]
00005F06 4247 clr.w D7
00005F08 1E2E 0008 move.b D7, [A6 + 0x8]
00005F0C E54F lsl D7.w, 2
00005F0E 49ED EA0A lea.l A4, [A5 - 0x15F6]
00005F12 598F subq.l A7, 4
00005F14 2F34 7000 move.l -[A7], [A4 + D7.w]
00005F18 2F3C 0000 003C move.l -[A7], 0x3C /* '<' */
00005F1E 4EBA DBE8 jsr [PC - 0x2418 /* 00003B08 */]
00005F22 2E1F move.l D7, [A7]+
00005F24 2F07 move.l -[A7], D7
00005F26 486E FEF4 pea.l [A6 - 0x10C]
00005F2A 4EBA E02C jsr [PC - 0x1FD4 /* 00003F58 */]
00005F2E 4247 clr.w D7
00005F30 1E2E FEF4 move.b D7, [A6 - 0x10C]
00005F34 0C47 0002 cmpi.w D7, 0x2
00005F38 6C00 0028 bge +0x2A /* 00005F62 */
00005F3C 487A 024E pea.l [PC + 0x24E /* 0000618C, value 0x1304E56 */]
00005F40 486E FEF4 pea.l [A6 - 0x10C]
00005F44 486E FCF0 pea.l [A6 - 0x310]
00005F48 3F3C 0002 move.w -[A7], 0x2
00005F4C 4EBA DC18 jsr [PC - 0x23E8 /* 00003B66 */]
00005F50 49EE FEF4 lea.l A4, [A6 - 0x10C]
00005F54 47EE FCF0 lea.l A3, [A6 - 0x310]
00005F58 4247 clr.w D7
00005F5A 1E13 move.b D7, [A3]
label00005F5C:
00005F5C 18DB move.b [A4]+, [A3]+
00005F5E 51CF FFFC dbf D7, -0x6 /* 00005F5C */
label00005F62:
00005F62 486E FDF4 pea.l [A6 - 0x20C]
00005F66 487A 0222 pea.l [PC + 0x222 /* 0000618A, value 0x13A0130 */]
00005F6A 486E FEF4 pea.l [A6 - 0x10C]
00005F6E 486E FCF0 pea.l [A6 - 0x310]
00005F72 3F3C 0003 move.w -[A7], 0x3
00005F76 4EBA DBEE jsr [PC - 0x2412 /* 00003B66 */]
00005F7A 49EE FDF4 lea.l A4, [A6 - 0x20C]
00005F7E 47EE FCF0 lea.l A3, [A6 - 0x310]
00005F82 4247 clr.w D7
00005F84 1E13 move.b D7, [A3]
label00005F86:
00005F86 18DB move.b [A4]+, [A3]+
00005F88 51CF FFFC dbf D7, -0x6 /* 00005F86 */
00005F8C 3E2E FFFA move.w D7, [A6 - 0x6]
00005F90 5747 subq.w D7, 3
00005F92 558F subq.l A7, 2
00005F94 486E FDF4 pea.l [A6 - 0x20C]
00005F98 A88C syscall StringWidth
00005F9A 3C1F move.w D6, [A7]+
00005F9C 9E46 sub.w D7, D6
00005F9E 3F07 move.w -[A7], D7
00005FA0 3E2E FFF8 move.w D7, [A6 - 0x8]
00005FA4 5547 subq.w D7, 2
00005FA6 3F07 move.w -[A7], D7
00005FA8 A893 syscall MoveTo
00005FAA 486E FFF4 pea.l [A6 - 0xC]
00005FAE A8A3 syscall EraseRect
00005FB0 486E FDF4 pea.l [A6 - 0x20C]
00005FB4 A884 syscall DrawString
00005FB6 4AAD EA0A tst.l [A5 - 0x15F6]
00005FBA 6600 0010 bne +0x12 /* 00005FCC */
00005FBE 2B6D EA16 EA1A move.l [A5 - 0x15E6], [A5 - 0x15EA]
00005FC4 42AE FDF0 clr.l [A6 - 0x210]
00005FC8 4EFA 004A jmp [PC + 0x4A /* 00006014 */]
label00005FCC:
00005FCC 598F subq.l A7, 4
00005FCE 2F2D EA16 move.l -[A7], [A5 - 0x15EA]
00005FD2 2F2D EA0A move.l -[A7], [A5 - 0x15F6]
00005FD6 4EBA DB1C jsr [PC - 0x24E4 /* 00003AF4 */]
00005FDA 2E1F move.l D7, [A7]+
00005FDC 2B47 EA1A move.l [A5 - 0x15E6], D7
00005FE0 598F subq.l A7, 4
00005FE2 2F2D EA16 move.l -[A7], [A5 - 0x15EA]
00005FE6 2F3C 0000 000A move.l -[A7], 0xA /* '\n' */
00005FEC 4EBA DAE0 jsr [PC - 0x2520 /* 00003ACE */]
00005FF0 2E1F move.l D7, [A7]+
00005FF2 598F subq.l A7, 4
00005FF4 2F07 move.l -[A7], D7
00005FF6 2F2D EA0A move.l -[A7], [A5 - 0x15F6]
00005FFA 4EBA DAF8 jsr [PC - 0x2508 /* 00003AF4 */]
00005FFE 2E1F move.l D7, [A7]+
00006000 598F subq.l A7, 4
00006002 2F07 move.l -[A7], D7
00006004 2F3C 0000 000A move.l -[A7], 0xA /* '\n' */
0000600A 4EBA DAFC jsr [PC - 0x2504 /* 00003B08 */]
0000600E 2E1F move.l D7, [A7]+
00006010 2D47 FDF0 move.l [A6 - 0x210], D7
label00006014:
00006014 2F2E FDF0 move.l -[A7], [A6 - 0x210]
00006018 486E FDF4 pea.l [A6 - 0x20C]
0000601C 4EBA DF3A jsr [PC - 0x20C6 /* 00003F58 */]
00006020 598F subq.l A7, 4
00006022 2F2D EA1A move.l -[A7], [A5 - 0x15E6]
00006026 2F3C 0000 003C move.l -[A7], 0x3C /* '<' */
0000602C 4EBA DADA jsr [PC - 0x2526 /* 00003B08 */]
00006030 2E1F move.l D7, [A7]+
00006032 2F07 move.l -[A7], D7
00006034 486E FEF4 pea.l [A6 - 0x10C]
00006038 4EBA DF1E jsr [PC - 0x20E2 /* 00003F58 */]
0000603C 4247 clr.w D7
0000603E 1E2E FEF4 move.b D7, [A6 - 0x10C]
00006042 0C47 0002 cmpi.w D7, 0x2
00006046 6C00 0034 bge +0x36 /* 0000607C */
0000604A 487A 013C pea.l [PC + 0x13C /* 00006188, value 0x130013A */]
0000604E 486E FEF4 pea.l [A6 - 0x10C]
00006052 487A 0132 pea.l [PC + 0x132 /* 00006186, value 0x12E0130 */]
00006056 486E FDF4 pea.l [A6 - 0x20C]
0000605A 486E FCF0 pea.l [A6 - 0x310]
0000605E 3F3C 0004 move.w -[A7], 0x4
00006062 4EBA DB02 jsr [PC - 0x24FE /* 00003B66 */]
00006066 49EE FEF4 lea.l A4, [A6 - 0x10C]
0000606A 47EE FCF0 lea.l A3, [A6 - 0x310]
0000606E 4247 clr.w D7
00006070 1E13 move.b D7, [A3]
label00006072:
00006072 18DB move.b [A4]+, [A3]+
00006074 51CF FFFC dbf D7, -0x6 /* 00006072 */
00006078 4EFA 002C jmp [PC + 0x2C /* 000060A6 */]
label0000607C:
0000607C 486E FEF4 pea.l [A6 - 0x10C]
00006080 487A 0102 pea.l [PC + 0x102 /* 00006184, value 0x12E012E */]
00006084 486E FDF4 pea.l [A6 - 0x20C]
00006088 486E FCF0 pea.l [A6 - 0x310]
0000608C 3F3C 0003 move.w -[A7], 0x3
00006090 4EBA DAD4 jsr [PC - 0x252C /* 00003B66 */]
00006094 49EE FEF4 lea.l A4, [A6 - 0x10C]
00006098 47EE FCF0 lea.l A3, [A6 - 0x310]
0000609C 4247 clr.w D7
0000609E 1E13 move.b D7, [A3]
label000060A0:
000060A0 18DB move.b [A4]+, [A3]+
000060A2 51CF FFFC dbf D7, -0x6 /* 000060A0 */
label000060A6:
000060A6 598F subq.l A7, 4
000060A8 2F2D EA1A move.l -[A7], [A5 - 0x15E6]
000060AC 2F3C 0000 003C move.l -[A7], 0x3C /* '<' */
000060B2 4EBA DA40 jsr [PC - 0x25C0 /* 00003AF4 */]
000060B6 2E1F move.l D7, [A7]+
000060B8 2F07 move.l -[A7], D7
000060BA 486E FDF4 pea.l [A6 - 0x20C]
000060BE 4EBA DE98 jsr [PC - 0x2168 /* 00003F58 */]
000060C2 486E FDF4 pea.l [A6 - 0x20C]
000060C6 487A 00BA pea.l [PC + 0xBA /* 00006182, value 0x13A012E */]
000060CA 486E FEF4 pea.l [A6 - 0x10C]
000060CE 486E FCF0 pea.l [A6 - 0x310]
000060D2 3F3C 0003 move.w -[A7], 0x3
000060D6 4EBA DA8E jsr [PC - 0x2572 /* 00003B66 */]
000060DA 49EE FDF4 lea.l A4, [A6 - 0x20C]
000060DE 47EE FCF0 lea.l A3, [A6 - 0x310]
000060E2 4247 clr.w D7
000060E4 1E13 move.b D7, [A3]
label000060E6:
000060E6 18DB move.b [A4]+, [A3]+
000060E8 51CF FFFC dbf D7, -0x6 /* 000060E6 */
000060EC 286D EA40 movea.l A4, [A5 - 0x15C0]
000060F0 2854 movea.l A4, [A4]
000060F2 2D6C 002C FFF4 move.l [A6 - 0xC], [A4 + 0x2C]
000060F8 2D6C 0030 FFF8 move.l [A6 - 0x8], [A4 + 0x30]
000060FE 486E FFF4 pea.l [A6 - 0xC]
00006102 3F3C 0001 move.w -[A7], 0x1
00006106 3F3C 0001 move.w -[A7], 0x1
0000610A A8A9 syscall InsetRect
0000610C 486E FFF4 pea.l [A6 - 0xC]
00006110 A87B syscall ClipRect
00006112 3E2E FFFA move.w D7, [A6 - 0x6]
00006116 5747 subq.w D7, 3
00006118 558F subq.l A7, 2
0000611A 486E FDF4 pea.l [A6 - 0x20C]
0000611E A88C syscall StringWidth
00006120 3C1F move.w D6, [A7]+
00006122 9E46 sub.w D7, D6
00006124 3F07 move.w -[A7], D7
00006126 3E2E FFF8 move.w D7, [A6 - 0x8]
0000612A 5547 subq.w D7, 2
0000612C 3F07 move.w -[A7], D7
0000612E A893 syscall MoveTo
00006130 486E FFF4 pea.l [A6 - 0xC]
00006134 A8A3 syscall EraseRect
00006136 486E FDF4 pea.l [A6 - 0x20C]
0000613A A884 syscall DrawString
0000613C 4EFA 0028 jmp [PC + 0x28 /* 00006166 */]
label00006140:
00006140 4247 clr.w D7
00006142 1E2E 0008 move.b D7, [A6 + 0x8]
00006146 0C07 0000 cmpi.b D7, 0x0
0000614A 6700 FD4C beq -0x2B2 /* 00005E98 */
0000614E 0C07 0001 cmpi.b D7, 0x1
00006152 6700 FD44 beq -0x2BA /* 00005E98 */
00006156 0C07 0002 cmpi.b D7, 0x2
0000615A 6700 FD3C beq -0x2C2 /* 00005E98 */
0000615E 0C07 0003 cmpi.b D7, 0x3
00006162 6700 FD7A beq -0x284 /* 00005EDE */
label00006166:
00006166 286D F9B2 movea.l A4, [A5 - 0x64E]
0000616A 486C 0010 pea.l [A4 + 0x10]
0000616E A87B syscall ClipRect
00006170 2F2E FFFC move.l -[A7], [A6 - 0x4]
00006174 A873 syscall SetPort
00006176 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+
0000617A 4E5E unlink A6
0000617C 205F movea.l A0, [A7]+
0000617E 548F addq.l A7, 2
00006180 4ED0 jmp [A0]
00006182 013A 012E btst [PC + 0x12E /* 000062B2, value 0xCD */], D0
00006186 012E 0130 btst [A6 + 0x130], D0
0000618A 013A 0130 btst [PC + 0x130 /* 000062BC, value 0x70 'p' */], D0
fn0000618E:
0000618E 4E56 FFF6 link A6, -0x000A
00006192 48E7 0F38 movem.l -[A7], D4,D5,D6,D7,A2,A3,A4
00006196 3E2E 0008 move.w D7, [A6 + 0x8]
0000619A 5347 subq.w D7, 1
0000619C CFFC 0012 muls.w D7, 0x12
000061A0 49ED EF00 lea.l A4, [A5 - 0x1100]
000061A4 0C74 0001 7010 cmpi.w [A4 + D7.w + 0x10], 0x1
000061AA 6600 005E bne +0x60 /* 0000620A */
000061AE 536D EDBA subq.w [A5 - 0x1246], 1
000061B2 4EFA 0046 jmp [PC + 0x46 /* 000061FA */]
label000061B6:
000061B6 2F2D EEFC move.l -[A7], [A5 - 0x1104]
000061BA 3F3C 00FF move.w -[A7], 0xFF
000061BE A95D syscall HiliteControl
000061C0 422D EDAE clr.b [A5 - 0x1252]
000061C4 4EFA 0044 jmp [PC + 0x44 /* 0000620A */]
label000061C8:
000061C8 0C6D 0001 EDB8 cmpi.w [A5 - 0x1248], 0x1
000061CE 6F00 000A ble +0xC /* 000061DA */
000061D2 536D EDB8 subq.w [A5 - 0x1248], 1
000061D6 4EFA 001E jmp [PC + 0x1E /* 000061F6 */]
label000061DA:
000061DA 3E2E 0008 move.w D7, [A6 + 0x8]
000061DE 5347 subq.w D7, 1
000061E0 CFFC 0012 muls.w D7, 0x12
000061E4 49ED EF00 lea.l A4, [A5 - 0x1100]
000061E8 4274 7010 clr.w [A4 + D7.w + 0x10]
000061EC 3B7C 0001 EDCC move.w [A5 - 0x1234], 0x1
000061F2 4EBA F99E jsr [PC - 0x662 /* 00005B92 */]
label000061F6:
000061F6 4EFA 0012 jmp [PC + 0x12 /* 0000620A */]
label000061FA:
000061FA 3E2D EDBA move.w D7, [A5 - 0x1246]
000061FE 0C47 0000 cmpi.w D7, 0x0
00006202 6700 FFB2 beq -0x4C /* 000061B6 */
00006206 4EFA FFC0 jmp [PC - 0x40 /* 000061C8 */]
label0000620A:
0000620A 422E FFFE clr.b [A6 - 0x2]
0000620E 3E2E 0008 move.w D7, [A6 + 0x8]
00006212 5347 subq.w D7, 1
00006214 CFFC 0012 muls.w D7, 0x12
00006218 49ED EF00 lea.l A4, [A5 - 0x1100]
0000621C 4274 7010 clr.w [A4 + D7.w + 0x10]
00006220 3B7C 0001 FF28 move.w [A5 - 0xD8], 0x1
label00006226:
00006226 3E2D FF28 move.w D7, [A5 - 0xD8]
0000622A 5347 subq.w D7, 1
0000622C CFFC 0012 muls.w D7, 0x12
00006230 49ED EF00 lea.l A4, [A5 - 0x1100]
00006234 0C74 0002 7010 cmpi.w [A4 + D7.w + 0x10], 0x2
0000623A 6600 0350 bne +0x352 /* 0000658C */
0000623E 558F subq.l A7, 2
00006240 3E2D FF28 move.w D7, [A5 - 0xD8]
00006244 5347 subq.w D7, 1
00006246 CFFC 0012 muls.w D7, 0x12
0000624A 49ED EF00 lea.l A4, [A5 - 0x1100]
0000624E 2874 7000 movea.l A4, [A4 + D7.w]
00006252 2854 movea.l A4, [A4]
00006254 486C 0002 pea.l [A4 + 0x2]
00006258 486D ED82 pea.l [A5 - 0x127E]
0000625C 4EBA E0DC jsr [PC - 0x1F24 /* 0000433A */]
00006260 1E1F move.b D7, [A7]+
00006262 6700 0328 beq +0x32A /* 0000658C */
00006266 3E2D FF28 move.w D7, [A5 - 0xD8]
0000626A 5347 subq.w D7, 1
0000626C CFFC 0012 muls.w D7, 0x12
00006270 49ED EF00 lea.l A4, [A5 - 0x1100]
00006274 2874 7000 movea.l A4, [A4 + D7.w]
00006278 2854 movea.l A4, [A4]
0000627A 2B6C 0002 FDF0 move.l [A5 - 0x210], [A4 + 0x2]
00006280 2B6C 0006 FDF4 move.l [A5 - 0x20C], [A4 + 0x6]
00006286 3E2D FDF2 move.w D7, [A5 - 0x20E]
0000628A 9E6D ED84 sub.w D7, [A5 - 0x127C]
0000628E 3D47 FFFC move.w [A6 - 0x4], D7
00006292 3E2D FDF0 move.w D7, [A5 - 0x210]
00006296 9E6D ED82 sub.w D7, [A5 - 0x127E]
0000629A 3D47 FFFA move.w [A6 - 0x6], D7
0000629E 3E2D FF28 move.w D7, [A5 - 0xD8]
000062A2 5347 subq.w D7, 1
000062A4 CFFC 0012 muls.w D7, 0x12
000062A8 49ED EF00 lea.l A4, [A5 - 0x1100]
000062AC 3C2E 0008 move.w D6, [A6 + 0x8]
000062B0 5346 subq.w D6, 1
000062B2 CDFC 0012 muls.w D6, 0x12
000062B6 47ED EF00 lea.l A3, [A5 - 0x1100]
000062BA 3A34 7006 move.w D5, [A4 + D7.w + 0x6]
000062BE 9A73 6006 sub.w D5, [A3 + D6.w + 0x6]
000062C2 3D45 FFF8 move.w [A6 - 0x8], D5
000062C6 3E2D FF28 move.w D7, [A5 - 0xD8]
000062CA 5347 subq.w D7, 1
000062CC CFFC 0012 muls.w D7, 0x12
000062D0 49ED EF00 lea.l A4, [A5 - 0x1100]
000062D4 3C2E 0008 move.w D6, [A6 + 0x8]
000062D8 5346 subq.w D6, 1
000062DA CDFC 0012 muls.w D6, 0x12
000062DE 47ED EF00 lea.l A3, [A5 - 0x1100]
000062E2 3A34 7004 move.w D5, [A4 + D7.w + 0x4]
000062E6 9A73 6004 sub.w D5, [A3 + D6.w + 0x4]
000062EA 3D45 FFF6 move.w [A6 - 0xA], D5
000062EE 3E2E FFFC move.w D7, [A6 - 0x4]
000062F2 9E6E FFF8 sub.w D7, [A6 - 0x8]
000062F6 4A47 tst.w D7
000062F8 6A02 bpl +0x4 /* 000062FC */
000062FA 4447 neg.w D7
label000062FC:
000062FC 0C47 0005 cmpi.w D7, 0x5
00006300 5DC7 slt D7
00006302 4407 neg.b D7
00006304 3C2E FFFA move.w D6, [A6 - 0x6]
00006308 9C6E FFF6 sub.w D6, [A6 - 0xA]
0000630C 4A46 tst.w D6
0000630E 6A02 bpl +0x4 /* 00006312 */
00006310 4446 neg.w D6
label00006312:
00006312 0C46 0005 cmpi.w D6, 0x5
00006316 5DC6 slt D6
00006318 4406 neg.b D6
0000631A CC07 and.b D6, D7
0000631C 6700 026E beq +0x270 /* 0000658C */
00006320 486D ED92 pea.l [A5 - 0x126E]
00006324 286D F9BA movea.l A4, [A5 - 0x646]
00006328 486C 0002 pea.l [A4 + 0x2]
0000632C 486D ED5A pea.l [A5 - 0x12A6]
00006330 486D ED82 pea.l [A5 - 0x127E]
00006334 4267 clr.w -[A7]
00006336 42A7 clr.l -[A7]
00006338 A8EC syscall CopyBits
0000633A 1D7C 0001 FFFE move.b [A6 - 0x2], 0x1
00006340 3E2E 0008 move.w D7, [A6 + 0x8]
00006344 5347 subq.w D7, 1
00006346 CFFC 0012 muls.w D7, 0x12
0000634A 49ED EF00 lea.l A4, [A5 - 0x1100]
0000634E 2F34 7000 move.l -[A7], [A4 + D7.w]
00006352 3E2D FDF2 move.w D7, [A5 - 0x20E]
00006356 9E6E FFF8 sub.w D7, [A6 - 0x8]
0000635A 3C2E 0008 move.w D6, [A6 + 0x8]
0000635E 5346 subq.w D6, 1
00006360 CDFC 0012 muls.w D6, 0x12
00006364 49ED EF00 lea.l A4, [A5 - 0x1100]
00006368 2874 6000 movea.l A4, [A4 + D6.w]
0000636C 2854 movea.l A4, [A4]
0000636E 9E6C 0004 sub.w D7, [A4 + 0x4]
00006372 3F07 move.w -[A7], D7
00006374 3E2D FDF0 move.w D7, [A5 - 0x210]
00006378 9E6E FFF6 sub.w D7, [A6 - 0xA]
0000637C 3C2E 0008 move.w D6, [A6 + 0x8]
00006380 5346 subq.w D6, 1
00006382 CDFC 0012 muls.w D6, 0x12
00006386 49ED EF00 lea.l A4, [A5 - 0x1100]
0000638A 2874 6000 movea.l A4, [A4 + D6.w]
0000638E 2854 movea.l A4, [A4]
00006390 9E6C 0002 sub.w D7, [A4 + 0x2]
00006394 3F07 move.w -[A7], D7
00006396 A8E0 syscall OffsetRgn/OfsetRgn
00006398 3E2E 0008 move.w D7, [A6 + 0x8]
0000639C 5347 subq.w D7, 1
0000639E CFFC 0012 muls.w D7, 0x12
000063A2 49ED EF00 lea.l A4, [A5 - 0x1100]
000063A6 2874 7000 movea.l A4, [A4 + D7.w]
000063AA 2854 movea.l A4, [A4]
000063AC 486C 0002 pea.l [A4 + 0x2]
000063B0 A928 syscall InvalRect
000063B2 3E2D FF28 move.w D7, [A5 - 0xD8]
000063B6 5347 subq.w D7, 1
000063B8 CFFC 0012 muls.w D7, 0x12
000063BC 49ED EF00 lea.l A4, [A5 - 0x1100]
000063C0 2F34 7000 move.l -[A7], [A4 + D7.w]
000063C4 3E2E 0008 move.w D7, [A6 + 0x8]
000063C8 5347 subq.w D7, 1
000063CA CFFC 0012 muls.w D7, 0x12
000063CE 49ED EF00 lea.l A4, [A5 - 0x1100]
000063D2 2F34 7000 move.l -[A7], [A4 + D7.w]
000063D6 3E2D FF28 move.w D7, [A5 - 0xD8]
000063DA 5347 subq.w D7, 1
000063DC CFFC 0012 muls.w D7, 0x12
000063E0 49ED EF00 lea.l A4, [A5 - 0x1100]
000063E4 2F34 7000 move.l -[A7], [A4 + D7.w]
000063E8 A8E5 syscall UnionRgn
000063EA 3E2E 0008 move.w D7, [A6 + 0x8]
000063EE 5347 subq.w D7, 1
000063F0 CFFC 0012 muls.w D7, 0x12
000063F4 49ED EF00 lea.l A4, [A5 - 0x1100]
000063F8 4274 7010 clr.w [A4 + D7.w + 0x10]
000063FC 3E2E 0008 move.w D7, [A6 + 0x8]
00006400 5347 subq.w D7, 1
00006402 CFFC 0012 muls.w D7, 0x12
00006406 49ED EF00 lea.l A4, [A5 - 0x1100]
0000640A 2F34 7000 move.l -[A7], [A4 + D7.w]
0000640E A8D9 syscall DisposRgn/DisposeRgn
00006410 3E2D FF28 move.w D7, [A5 - 0xD8]
00006414 5347 subq.w D7, 1
00006416 CFFC 0012 muls.w D7, 0x12
0000641A 49ED EF00 lea.l A4, [A5 - 0x1100]
0000641E 3C2D FF28 move.w D6, [A5 - 0xD8]
00006422 5346 subq.w D6, 1
00006424 CDFC 0012 muls.w D6, 0x12
00006428 47ED EF00 lea.l A3, [A5 - 0x1100]
0000642C 2673 6000 movea.l A3, [A3 + D6.w]
00006430 2653 movea.l A3, [A3]
00006432 29AB 0002 7008 move.l [A4 + D7.w + 0x8], [A3 + 0x2]
00006438 29AB 0006 700C move.l [A4 + D7.w + 0xC], [A3 + 0x6]
0000643E 3E2D FF28 move.w D7, [A5 - 0xD8]
00006442 5347 subq.w D7, 1
00006444 CFFC 0012 muls.w D7, 0x12
00006448 49ED EF00 lea.l A4, [A5 - 0x1100]
0000644C 3C2D FF28 move.w D6, [A5 - 0xD8]
00006450 5346 subq.w D6, 1
00006452 CDFC 0012 muls.w D6, 0x12
00006456 47ED EF00 lea.l A3, [A5 - 0x1100]
0000645A 3A34 7006 move.w D5, [A4 + D7.w + 0x6]
0000645E DA73 600A add.w D5, [A3 + D6.w + 0xA]
00006462 9A6D FDF2 sub.w D5, [A5 - 0x20E]
00006466 3985 7006 move.w [A4 + D7.w + 0x6], D5
0000646A 3C2D FF28 move.w D6, [A5 - 0xD8]
0000646E 5346 subq.w D6, 1
00006470 CDFC 0012 muls.w D6, 0x12
00006474 47ED EF00 lea.l A3, [A5 - 0x1100]
00006478 3A34 7004 move.w D5, [A4 + D7.w + 0x4]
0000647C DA73 6008 add.w D5, [A3 + D6.w + 0x8]
00006480 9A6D FDF0 sub.w D5, [A5 - 0x210]
00006484 3985 7004 move.w [A4 + D7.w + 0x4], D5
00006488 3E2D FF28 move.w D7, [A5 - 0xD8]
0000648C 5347 subq.w D7, 1
0000648E CFFC 0012 muls.w D7, 0x12
00006492 49ED EF00 lea.l A4, [A5 - 0x1100]
00006496 3C2D FF28 move.w D6, [A5 - 0xD8]
0000649A 5346 subq.w D6, 1
0000649C CDFC 0012 muls.w D6, 0x12
000064A0 47ED EF00 lea.l A3, [A5 - 0x1100]
000064A4 3A2D FF28 move.w D5, [A5 - 0xD8]
000064A8 5345 subq.w D5, 1
000064AA CBFC 0012 muls.w D5, 0x12
000064AE 45ED EF00 lea.l A2, [A5 - 0x1100]
000064B2 3833 600E move.w D4, [A3 + D6.w + 0xE]
000064B6 D872 5006 add.w D4, [A2 + D5.w + 0x6]
000064BA 3C2D FF28 move.w D6, [A5 - 0xD8]
000064BE 5346 subq.w D6, 1
000064C0 CDFC 0012 muls.w D6, 0x12
000064C4 47ED EF00 lea.l A3, [A5 - 0x1100]
000064C8 9873 600A sub.w D4, [A3 + D6.w + 0xA]
000064CC 3984 700E move.w [A4 + D7.w + 0xE], D4
000064D0 3E2D FF28 move.w D7, [A5 - 0xD8]
000064D4 5347 subq.w D7, 1
000064D6 CFFC 0012 muls.w D7, 0x12
000064DA 49ED EF00 lea.l A4, [A5 - 0x1100]
000064DE 3C2D FF28 move.w D6, [A5 - 0xD8]
000064E2 5346 subq.w D6, 1
000064E4 CDFC 0012 muls.w D6, 0x12
000064E8 47ED EF00 lea.l A3, [A5 - 0x1100]
000064EC 39B3 6006 700A move.w [A4 + D7.w + 0xA], [A3 + D6.w + 0x6]
000064F2 3E2D FF28 move.w D7, [A5 - 0xD8]
000064F6 5347 subq.w D7, 1
000064F8 CFFC 0012 muls.w D7, 0x12
000064FC 49ED EF00 lea.l A4, [A5 - 0x1100]
00006500 3C2D FF28 move.w D6, [A5 - 0xD8]
00006504 5346 subq.w D6, 1
00006506 CDFC 0012 muls.w D6, 0x12
0000650A 47ED EF00 lea.l A3, [A5 - 0x1100]
0000650E 3A2D FF28 move.w D5, [A5 - 0xD8]
00006512 5345 subq.w D5, 1
00006514 CBFC 0012 muls.w D5, 0x12
00006518 45ED EF00 lea.l A2, [A5 - 0x1100]
0000651C 3833 600C move.w D4, [A3 + D6.w + 0xC]
00006520 D872 5004 add.w D4, [A2 + D5.w + 0x4]
00006524 3C2D FF28 move.w D6, [A5 - 0xD8]
00006528 5346 subq.w D6, 1
0000652A CDFC 0012 muls.w D6, 0x12
0000652E 47ED EF00 lea.l A3, [A5 - 0x1100]
00006532 9873 6008 sub.w D4, [A3 + D6.w + 0x8]
00006536 3984 700C move.w [A4 + D7.w + 0xC], D4
0000653A 3E2D FF28 move.w D7, [A5 - 0xD8]
0000653E 5347 subq.w D7, 1
00006540 CFFC 0012 muls.w D7, 0x12
00006544 49ED EF00 lea.l A4, [A5 - 0x1100]
00006548 3C2D FF28 move.w D6, [A5 - 0xD8]
0000654C 5346 subq.w D6, 1
0000654E CDFC 0012 muls.w D6, 0x12
00006552 47ED EF00 lea.l A3, [A5 - 0x1100]
00006556 39B3 6004 7008 move.w [A4 + D7.w + 0x8], [A3 + D6.w + 0x4]
0000655C 4EBA DE9E jsr [PC - 0x2162 /* 000043FC */]
00006560 52AD EA0A addq.l [A5 - 0x15F6], 1
00006564 4227 clr.b -[A7]
00006566 4EBA F8E6 jsr [PC - 0x71A /* 00005E4E */]
0000656A 53AD EA0E subq.l [A5 - 0x15F2], 1
0000656E 1F3C 0001 move.b -[A7], 0x1
00006572 4EBA F8DA jsr [PC - 0x726 /* 00005E4E */]
00006576 2E2D EA0A move.l D7, [A5 - 0x15F6]
0000657A BEAD EA12 cmp.l D7, [A5 - 0x15EE]
0000657E 6600 0008 bne +0xA /* 00006588 */
00006582 1B7C 0001 E9E4 move.b [A5 - 0x161C], 0x1
label00006588:
00006588 4EFA 0012 jmp [PC + 0x12 /* 0000659C */]
label0000658C:
0000658C 526D FF28 addq.w [A5 - 0xD8], 1
00006590 3E2D FF28 move.w D7, [A5 - 0xD8]
00006594 BE6D F98C cmp.w D7, [A5 - 0x674]
00006598 6F00 FC8C ble -0x372 /* 00006226 */
label0000659C:
0000659C 1E2E FFFE move.b D7, [A6 - 0x2]
000065A0 0A07 0001 xori.b D7, 0x1
000065A4 6700 006C beq +0x6E /* 00006612 */
000065A8 3E2E 0008 move.w D7, [A6 + 0x8]
000065AC 5347 subq.w D7, 1
000065AE CFFC 0012 muls.w D7, 0x12
000065B2 49ED EF00 lea.l A4, [A5 - 0x1100]
000065B6 2F34 7000 move.l -[A7], [A4 + D7.w]
000065BA 3E2E 0008 move.w D7, [A6 + 0x8]
000065BE 5347 subq.w D7, 1
000065C0 CFFC 0012 muls.w D7, 0x12
000065C4 49ED EF00 lea.l A4, [A5 - 0x1100]
000065C8 2874 7000 movea.l A4, [A4 + D7.w]
000065CC 2854 movea.l A4, [A4]
000065CE 3E2D ED84 move.w D7, [A5 - 0x127C]
000065D2 9E6C 0004 sub.w D7, [A4 + 0x4]
000065D6 3F07 move.w -[A7], D7
000065D8 3E2E 0008 move.w D7, [A6 + 0x8]
000065DC 5347 subq.w D7, 1
000065DE CFFC 0012 muls.w D7, 0x12
000065E2 49ED EF00 lea.l A4, [A5 - 0x1100]
000065E6 2874 7000 movea.l A4, [A4 + D7.w]
000065EA 2854 movea.l A4, [A4]
000065EC 3E2D ED82 move.w D7, [A5 - 0x127E]
000065F0 9E6C 0002 sub.w D7, [A4 + 0x2]
000065F4 3F07 move.w -[A7], D7
000065F6 A8E0 syscall OffsetRgn/OfsetRgn
000065F8 486D ED82 pea.l [A5 - 0x127E]
000065FC A928 syscall InvalRect
000065FE 3E2E 0008 move.w D7, [A6 + 0x8]
00006602 5347 subq.w D7, 1
00006604 CFFC 0012 muls.w D7, 0x12
00006608 49ED EF00 lea.l A4, [A5 - 0x1100]
0000660C 39BC 0002 7010 move.w [A4 + D7.w + 0x10], 0x2
label00006612:
00006612 4CDF 1CF0 movem.l D4,D5,D6,D7,A2,A3,A4, [A7]+
00006616 4E5E unlink A6
00006618 205F movea.l A0, [A7]+
0000661A 548F addq.l A7, 2
0000661C 4ED0 jmp [A0]
fn0000661E:
0000661E 4E56 FFF4 link A6, -0x000C
00006622 48E7 0308 movem.l -[A7], D6,D7,A4
00006626 3F3C 0002 move.w -[A7], 0x2
0000662A 3F3C 0001 move.w -[A7], 0x1
0000662E A89B syscall PenSize
00006630 3F2D EDCA move.w -[A7], [A5 - 0x1236]
00006634 3F2D EDC4 move.w -[A7], [A5 - 0x123C]
00006638 A893 syscall MoveTo
0000663A 3F2D EDCA move.w -[A7], [A5 - 0x1236]
0000663E 3F2D EDC0 move.w -[A7], [A5 - 0x1240]
00006642 A891 syscall LineTo
00006644 A89E syscall PenNormal
00006646 3E2E 0008 move.w D7, [A6 + 0x8]
0000664A 5347 subq.w D7, 1
0000664C CFFC 0012 muls.w D7, 0x12
00006650 49ED EF00 lea.l A4, [A5 - 0x1100]
00006654 2874 7000 movea.l A4, [A4 + D7.w]
00006658 2854 movea.l A4, [A4]
0000665A 486C 0002 pea.l [A4 + 0x2]
0000665E A87B syscall ClipRect
00006660 0C6E 0001 0008 cmpi.w [A6 + 0x8], 0x1
00006666 6700 0062 beq +0x64 /* 000066CA */
0000666A 558F subq.l A7, 2
0000666C 286D EF00 movea.l A4, [A5 - 0x1100]
00006670 2854 movea.l A4, [A4]
00006672 486C 0002 pea.l [A4 + 0x2]
00006676 3E2E 0008 move.w D7, [A6 + 0x8]
0000667A 5347 subq.w D7, 1
0000667C CFFC 0012 muls.w D7, 0x12
00006680 49ED EF00 lea.l A4, [A5 - 0x1100]
00006684 2874 7000 movea.l A4, [A4 + D7.w]
00006688 2854 movea.l A4, [A4]
0000668A 486C 0002 pea.l [A4 + 0x2]
0000668E 4EBA DCAA jsr [PC - 0x2356 /* 0000433A */]
00006692 1E1F move.b D7, [A7]+
00006694 6700 0034 beq +0x36 /* 000066CA */
00006698 286D EF00 movea.l A4, [A5 - 0x1100]
0000669C 2854 movea.l A4, [A4]
0000669E 486C 0002 pea.l [A4 + 0x2]
000066A2 486D ECE4 pea.l [A5 - 0x131C]
000066A6 A8A5 syscall FillRect
000066A8 486D FF16 pea.l [A5 - 0xEA]
000066AC 286D F9BA movea.l A4, [A5 - 0x646]
000066B0 486C 0002 pea.l [A4 + 0x2]
000066B4 486D EF08 pea.l [A5 - 0x10F8]
000066B8 286D EF00 movea.l A4, [A5 - 0x1100]
000066BC 2854 movea.l A4, [A4]
000066BE 486C 0002 pea.l [A4 + 0x2]
000066C2 4267 clr.w -[A7]
000066C4 2F2D EF00 move.l -[A7], [A5 - 0x1100]
000066C8 A8EC syscall CopyBits
label000066CA:
000066CA 3E3C 0002 move.w D7, 0x2
000066CE 3D47 FFF6 move.w [A6 - 0xA], D7
000066D2 BE6D F98C cmp.w D7, [A5 - 0x674]
000066D6 6E00 00CC bgt +0xCE /* 000067A4 */
000066DA 3D6D F98C FFF4 move.w [A6 - 0xC], [A5 - 0x674]
label000066E0:
000066E0 3C07 move.w D6, D7
000066E2 5346 subq.w D6, 1
000066E4 CDFC 0012 muls.w D6, 0x12
000066E8 49ED EF00 lea.l A4, [A5 - 0x1100]
000066EC 0C74 0002 6010 cmpi.w [A4 + D6.w + 0x10], 0x2
000066F2 6600 009E bne +0xA0 /* 00006792 */
000066F6 3C07 move.w D6, D7
000066F8 BC6E 0008 cmp.w D6, [A6 + 0x8]
000066FC 6700 0094 beq +0x96 /* 00006792 */
00006700 558F subq.l A7, 2
00006702 3C07 move.w D6, D7
00006704 5346 subq.w D6, 1
00006706 CDFC 0012 muls.w D6, 0x12
0000670A 49ED EF00 lea.l A4, [A5 - 0x1100]
0000670E 2874 6000 movea.l A4, [A4 + D6.w]
00006712 2854 movea.l A4, [A4]
00006714 486C 0002 pea.l [A4 + 0x2]
00006718 3C2E 0008 move.w D6, [A6 + 0x8]
0000671C 5346 subq.w D6, 1
0000671E CDFC 0012 muls.w D6, 0x12
00006722 49ED EF00 lea.l A4, [A5 - 0x1100]
00006726 2874 6000 movea.l A4, [A4 + D6.w]
0000672A 2854 movea.l A4, [A4]
0000672C 486C 0002 pea.l [A4 + 0x2]
00006730 4EBA DC08 jsr [PC - 0x23F8 /* 0000433A */]
00006734 1C1F move.b D6, [A7]+
00006736 6700 005A beq +0x5C /* 00006792 */
0000673A 486D FF16 pea.l [A5 - 0xEA]
0000673E 286D F9BA movea.l A4, [A5 - 0x646]
00006742 486C 0002 pea.l [A4 + 0x2]
00006746 3C07 move.w D6, D7
00006748 5346 subq.w D6, 1
0000674A CDFC 0012 muls.w D6, 0x12
0000674E 49ED EF00 lea.l A4, [A5 - 0x1100]
00006752 4874 6008 pea.l [A4 + D6.w + 0x8]
00006756 3C07 move.w D6, D7
00006758 5346 subq.w D6, 1
0000675A CDFC 0012 muls.w D6, 0x12
0000675E 49ED EF00 lea.l A4, [A5 - 0x1100]
00006762 2874 6000 movea.l A4, [A4 + D6.w]
00006766 2854 movea.l A4, [A4]
00006768 486C 0002 pea.l [A4 + 0x2]
0000676C 4267 clr.w -[A7]
0000676E 3C07 move.w D6, D7
00006770 5346 subq.w D6, 1
00006772 CDFC 0012 muls.w D6, 0x12
00006776 49ED EF00 lea.l A4, [A5 - 0x1100]
0000677A 2F34 6000 move.l -[A7], [A4 + D6.w]
0000677E A8EC syscall CopyBits
00006780 3C07 move.w D6, D7
00006782 5346 subq.w D6, 1
00006784 CDFC 0012 muls.w D6, 0x12
00006788 49ED EF00 lea.l A4, [A5 - 0x1100]
0000678C 2F34 6000 move.l -[A7], [A4 + D6.w]
00006790 A8D2 syscall FrameRgn
label00006792:
00006792 BE6E FFF4 cmp.w D7, [A6 - 0xC]
00006796 6C00 000C bge +0xE /* 000067A4 */
0000679A 5247 addq.w D7, 1
0000679C 3D47 FFF6 move.w [A6 - 0xA], D7
000067A0 4EFA FF3E jmp [PC - 0xC2 /* 000066E0 */]
label000067A4:
000067A4 2F2D F9BA move.l -[A7], [A5 - 0x646]
000067A8 A904 syscall DrawGrowIcon
000067AA 286D F9BA movea.l A4, [A5 - 0x646]
000067AE 486C 0010 pea.l [A4 + 0x10]
000067B2 A87B syscall ClipRect
000067B4 4CDF 10C0 movem.l D6,D7,A4, [A7]+
000067B8 4E5E unlink A6
000067BA 205F movea.l A0, [A7]+
000067BC 548F addq.l A7, 2
000067BE 4ED0 jmp [A0]
fn000067C0:
000067C0 4E56 FFF8 link A6, -0x0008
000067C4 48E7 0318 movem.l -[A7], D6,D7,A3,A4
000067C8 286E 000A movea.l A4, [A6 + 0xA]
000067CC 2D54 FFF8 move.l [A6 - 0x8], [A4]
000067D0 2D6C 0004 FFFC move.l [A6 - 0x4], [A4 + 0x4]
000067D6 0C6E 0001 0008 cmpi.w [A6 + 0x8], 0x1
000067DC 6600 000C bne +0xE /* 000067EA */
000067E0 1B7C 0001 ED44 move.b [A5 - 0x12BC], 0x1
000067E6 4EFA 0006 jmp [PC + 0x6 /* 000067EE */]
label000067EA:
000067EA 422D ED44 clr.b [A5 - 0x12BC]
label000067EE:
000067EE 286D FDE4 movea.l A4, [A5 - 0x21C]
000067F2 2854 movea.l A4, [A4]
000067F4 2B6C 0002 ED5A move.l [A5 - 0x12A6], [A4 + 0x2]
000067FA 2B6C 0006 ED5E move.l [A5 - 0x12A2], [A4 + 0x6]
00006800 286D F9BA movea.l A4, [A5 - 0x646]
00006804 47ED FF08 lea.l A3, [A5 - 0xF8]
00006808 49EC 0002 lea.l A4, [A4 + 0x2]
0000680C 3E3C 000D move.w D7, 0xD /* '\r' */
label00006810:
00006810 16DC move.b [A3]+, [A4]+
00006812 51CF FFFC dbf D7, -0x6 /* 00006810 */
00006816 486D ED92 pea.l [A5 - 0x126E]
0000681A A875 syscall SetPBits/SetPortBits
0000681C 486D ED98 pea.l [A5 - 0x1268]
00006820 A8A3 syscall EraseRect
00006822 3F2D ED5C move.w -[A7], [A5 - 0x12A4]
00006826 3F2D ED5A move.w -[A7], [A5 - 0x12A6]
0000682A A878 syscall SetOrigin
0000682C 3E2E 0008 move.w D7, [A6 + 0x8]
00006830 5347 subq.w D7, 1
00006832 CFFC 0012 muls.w D7, 0x12
00006836 49ED EF00 lea.l A4, [A5 - 0x1100]
0000683A 0C74 0002 7010 cmpi.w [A4 + D7.w + 0x10], 0x2
00006840 6600 000E bne +0x10 /* 00006850 */
00006844 3F2E 0008 move.w -[A7], [A6 + 0x8]
00006848 4EBA FDD4 jsr [PC - 0x22C /* 0000661E */]
0000684C 4EFA 0022 jmp [PC + 0x22 /* 00006870 */]
label00006850:
00006850 3E2E 0008 move.w D7, [A6 + 0x8]
00006854 5347 subq.w D7, 1
00006856 CFFC 0012 muls.w D7, 0x12
0000685A 49ED EF00 lea.l A4, [A5 - 0x1100]
0000685E 2874 7000 movea.l A4, [A4 + D7.w]
00006862 2854 movea.l A4, [A4]
00006864 486C 0002 pea.l [A4 + 0x2]
00006868 A87B syscall ClipRect
0000686A 2F2D F9BA move.l -[A7], [A5 - 0x646]
0000686E A969 syscall DrawControls
label00006870:
00006870 4267 clr.w -[A7]
00006872 4267 clr.w -[A7]
00006874 A878 syscall SetOrigin
00006876 286D F9BA movea.l A4, [A5 - 0x646]
0000687A 486C 0010 pea.l [A4 + 0x10]
0000687E A87B syscall ClipRect
00006880 486D FF08 pea.l [A5 - 0xF8]
00006884 A875 syscall SetPBits/SetPortBits
00006886 3E2D ED60 move.w D7, [A5 - 0x12A0]
0000688A 9E6D ED5C sub.w D7, [A5 - 0x12A4]
0000688E 3B47 ED60 move.w [A5 - 0x12A0], D7
00006892 426D ED5C clr.w [A5 - 0x12A4]
00006896 3E2D ED5E move.w D7, [A5 - 0x12A2]
0000689A 9E6D ED5A sub.w D7, [A5 - 0x12A6]
0000689E 3B47 ED5E move.w [A5 - 0x12A2], D7
000068A2 426D ED5A clr.w [A5 - 0x12A6]
000068A6 3E2D EDAC move.w D7, [A5 - 0x1254]
000068AA 9E6D ED60 sub.w D7, [A5 - 0x12A0]
000068AE 3B47 ED48 move.w [A5 - 0x12B8], D7
000068B2 3E2D EDAA move.w D7, [A5 - 0x1256]
000068B6 9E6D ED5E sub.w D7, [A5 - 0x12A2]
000068BA 3B47 ED46 move.w [A5 - 0x12BA], D7
000068BE 2B6E FFF8 ED52 move.l [A5 - 0x12AE], [A6 - 0x8]
000068C4 2B6E FFFC ED56 move.l [A5 - 0x12AA], [A6 - 0x4]
000068CA 2B6E 000E ED40 move.l [A5 - 0x12C0], [A6 + 0xE]
000068D0 286D FDE4 movea.l A4, [A5 - 0x21C]
000068D4 2854 movea.l A4, [A4]
000068D6 2B6C 0002 ED8A move.l [A5 - 0x1276], [A4 + 0x2]
000068DC 2B6C 0006 ED8E move.l [A5 - 0x1272], [A4 + 0x6]
000068E2 2B6D ED8A ED82 move.l [A5 - 0x127E], [A5 - 0x1276]
000068E8 2B6D ED8E ED86 move.l [A5 - 0x127A], [A5 - 0x1272]
000068EE 2B6D ED40 ED4E move.l [A5 - 0x12B2], [A5 - 0x12C0]
000068F4 526D ED50 addq.w [A5 - 0x12B0], 1
label000068F8:
000068F8 558F subq.l A7, 2
000068FA 2F2D ED4E move.l -[A7], [A5 - 0x12B2]
000068FE 486D ED38 pea.l [A5 - 0x12C8]
00006902 A8AD syscall PtInRect
00006904 1E1F move.b D7, [A7]+
00006906 6600 0052 bne +0x54 /* 0000695A */
0000690A 3E2D ED50 move.w D7, [A5 - 0x12B0]
0000690E BE6D ED3E cmp.w D7, [A5 - 0x12C2]
00006912 6F00 000C ble +0xE /* 00006920 */
00006916 3B6D ED3E ED50 move.w [A5 - 0x12B0], [A5 - 0x12C2]
0000691C 4EFA 0014 jmp [PC + 0x14 /* 00006932 */]
label00006920:
00006920 3E2D ED50 move.w D7, [A5 - 0x12B0]
00006924 BE6D ED3A cmp.w D7, [A5 - 0x12C6]
00006928 6C00 0008 bge +0xA /* 00006932 */
0000692C 3B6D ED3A ED50 move.w [A5 - 0x12B0], [A5 - 0x12C6]
label00006932:
00006932 3E2D ED4E move.w D7, [A5 - 0x12B2]
00006936 BE6D ED3C cmp.w D7, [A5 - 0x12C4]
0000693A 6F00 000C ble +0xE /* 00006948 */
0000693E 3B6D ED3C ED4E move.w [A5 - 0x12B2], [A5 - 0x12C4]
00006944 4EFA 0014 jmp [PC + 0x14 /* 0000695A */]
label00006948:
00006948 3E2D ED4E move.w D7, [A5 - 0x12B2]
0000694C BE6D ED38 cmp.w D7, [A5 - 0x12C8]
00006950 6C00 0008 bge +0xA /* 0000695A */
00006954 3B6D ED38 ED4E move.w [A5 - 0x12B2], [A5 - 0x12C8]
label0000695A:
0000695A 3E2D ED50 move.w D7, [A5 - 0x12B0]
0000695E 9E6D ED42 sub.w D7, [A5 - 0x12BE]
00006962 3B47 ED4C move.w [A5 - 0x12B4], D7
00006966 3E2D ED4E move.w D7, [A5 - 0x12B2]
0000696A 9E6D ED40 sub.w D7, [A5 - 0x12C0]
0000696E 3B47 ED4A move.w [A5 - 0x12B6], D7
00006972 4A6D ED4C tst.w [A5 - 0x12B4]
00006976 56C7 sne D7
00006978 4407 neg.b D7
0000697A 4A6D ED4A tst.w [A5 - 0x12B6]
0000697E 56C6 sne D6
00006980 4406 neg.b D6
00006982 8C07 or.b D6, D7
00006984 6700 00AE beq +0xB0 /* 00006A34 */
00006988 3E2D ED4C move.w D7, [A5 - 0x12B4]
0000698C BE6D ED48 cmp.w D7, [A5 - 0x12B8]
00006990 6F00 000C ble +0xE /* 0000699E */
00006994 3B6D ED48 ED4C move.w [A5 - 0x12B4], [A5 - 0x12B8]
0000699A 4EFA 001C jmp [PC + 0x1C /* 000069B8 */]
label0000699E:
0000699E 3E2D ED48 move.w D7, [A5 - 0x12B8]
000069A2 4447 neg.w D7
000069A4 3C2D ED4C move.w D6, [A5 - 0x12B4]
000069A8 BC47 cmp.w D6, D7
000069AA 6C00 000C bge +0xE /* 000069B8 */
000069AE 3E2D ED48 move.w D7, [A5 - 0x12B8]
000069B2 4447 neg.w D7
000069B4 3B47 ED4C move.w [A5 - 0x12B4], D7
label000069B8:
000069B8 3E2D ED4A move.w D7, [A5 - 0x12B6]
000069BC BE6D ED46 cmp.w D7, [A5 - 0x12BA]
000069C0 6F00 000C ble +0xE /* 000069CE */
000069C4 3B6D ED46 ED4A move.w [A5 - 0x12B6], [A5 - 0x12BA]
000069CA 4EFA 001C jmp [PC + 0x1C /* 000069E8 */]
label000069CE:
000069CE 3E2D ED46 move.w D7, [A5 - 0x12BA]
000069D2 4447 neg.w D7
000069D4 3C2D ED4A move.w D6, [A5 - 0x12B6]
000069D8 BC47 cmp.w D6, D7
000069DA 6C00 000C bge +0xE /* 000069E8 */
000069DE 3E2D ED46 move.w D7, [A5 - 0x12BA]
000069E2 4447 neg.w D7
000069E4 3B47 ED4A move.w [A5 - 0x12B6], D7
label000069E8:
000069E8 3E2D ED84 move.w D7, [A5 - 0x127C]
000069EC DE6D ED4C add.w D7, [A5 - 0x12B4]
000069F0 3B47 ED84 move.w [A5 - 0x127C], D7
000069F4 3E2D ED88 move.w D7, [A5 - 0x1278]
000069F8 DE6D ED4C add.w D7, [A5 - 0x12B4]
000069FC 3B47 ED88 move.w [A5 - 0x1278], D7
00006A00 3E2D ED82 move.w D7, [A5 - 0x127E]
00006A04 DE6D ED4A add.w D7, [A5 - 0x12B6]
00006A08 3B47 ED82 move.w [A5 - 0x127E], D7
00006A0C 3E2D ED86 move.w D7, [A5 - 0x127A]
00006A10 DE6D ED4A add.w D7, [A5 - 0x12B6]
00006A14 3B47 ED86 move.w [A5 - 0x127A], D7
00006A18 3E2D ED4C move.w D7, [A5 - 0x12B4]
00006A1C DE6D ED42 add.w D7, [A5 - 0x12BE]
00006A20 3B47 ED42 move.w [A5 - 0x12BE], D7
00006A24 3E2D ED4A move.w D7, [A5 - 0x12B6]
00006A28 DE6D ED40 add.w D7, [A5 - 0x12C0]
00006A2C 3B47 ED40 move.w [A5 - 0x12C0], D7
00006A30 4EFA 0012 jmp [PC + 0x12 /* 00006A44 */]
label00006A34:
00006A34 486D ED4E pea.l [A5 - 0x12B2]
00006A38 A972 syscall GetMouse
00006A3A 558F subq.l A7, 2
00006A3C A973 syscall StillDown
00006A3E 1E1F move.b D7, [A7]+
00006A40 6600 FEB6 bne -0x148 /* 000068F8 */
label00006A44:
00006A44 486D ED8A pea.l [A5 - 0x1276]
00006A48 486D ED82 pea.l [A5 - 0x127E]
00006A4C 486D ED7A pea.l [A5 - 0x1286]
00006A50 A8AB syscall UnionRect
00006A52 2B6D ED8A ED72 move.l [A5 - 0x128E], [A5 - 0x1276]
00006A58 2B6D ED8E ED76 move.l [A5 - 0x128A], [A5 - 0x1272]
00006A5E 2B6D ED82 ED6A move.l [A5 - 0x1296], [A5 - 0x127E]
00006A64 2B6D ED86 ED6E move.l [A5 - 0x1292], [A5 - 0x127A]
00006A6A 2B6D ED7A ED62 move.l [A5 - 0x129E], [A5 - 0x1286]
00006A70 2B6D ED7E ED66 move.l [A5 - 0x129A], [A5 - 0x1282]
00006A76 3E2D ED78 move.w D7, [A5 - 0x1288]
00006A7A 9E6D ED64 sub.w D7, [A5 - 0x129C]
00006A7E 3B47 ED78 move.w [A5 - 0x1288], D7
00006A82 3E2D ED74 move.w D7, [A5 - 0x128C]
00006A86 9E6D ED64 sub.w D7, [A5 - 0x129C]
00006A8A 3B47 ED74 move.w [A5 - 0x128C], D7
00006A8E 3E2D ED76 move.w D7, [A5 - 0x128A]
00006A92 9E6D ED62 sub.w D7, [A5 - 0x129E]
00006A96 3B47 ED76 move.w [A5 - 0x128A], D7
00006A9A 3E2D ED72 move.w D7, [A5 - 0x128E]
00006A9E 9E6D ED62 sub.w D7, [A5 - 0x129E]
00006AA2 3B47 ED72 move.w [A5 - 0x128E], D7
00006AA6 3E2D ED70 move.w D7, [A5 - 0x1290]
00006AAA 9E6D ED64 sub.w D7, [A5 - 0x129C]
00006AAE 3B47 ED70 move.w [A5 - 0x1290], D7
00006AB2 3E2D ED6C move.w D7, [A5 - 0x1294]
00006AB6 9E6D ED64 sub.w D7, [A5 - 0x129C]
00006ABA 3B47 ED6C move.w [A5 - 0x1294], D7
00006ABE 3E2D ED6E move.w D7, [A5 - 0x1292]
00006AC2 9E6D ED62 sub.w D7, [A5 - 0x129E]
00006AC6 3B47 ED6E move.w [A5 - 0x1292], D7
00006ACA 3E2D ED6A move.w D7, [A5 - 0x1296]
00006ACE 9E6D ED62 sub.w D7, [A5 - 0x129E]
00006AD2 3B47 ED6A move.w [A5 - 0x1296], D7
00006AD6 3E2D ED68 move.w D7, [A5 - 0x1298]
00006ADA 9E6D ED64 sub.w D7, [A5 - 0x129C]
00006ADE 3B47 ED68 move.w [A5 - 0x1298], D7
00006AE2 3E2D ED64 move.w D7, [A5 - 0x129C]
00006AE6 9E6D ED64 sub.w D7, [A5 - 0x129C]
00006AEA 3B47 ED64 move.w [A5 - 0x129C], D7
00006AEE 3E2D ED66 move.w D7, [A5 - 0x129A]
00006AF2 9E6D ED62 sub.w D7, [A5 - 0x129E]
00006AF6 3B47 ED66 move.w [A5 - 0x129A], D7
00006AFA 3E2D ED62 move.w D7, [A5 - 0x129E]
00006AFE 9E6D ED62 sub.w D7, [A5 - 0x129E]
00006B02 3B47 ED62 move.w [A5 - 0x129E], D7
00006B06 286D F9BA movea.l A4, [A5 - 0x646]
00006B0A 486C 0002 pea.l [A4 + 0x2]
00006B0E 486D EDA0 pea.l [A5 - 0x1260]
00006B12 486D ED7A pea.l [A5 - 0x1286]
00006B16 486D ED62 pea.l [A5 - 0x129E]
00006B1A 4267 clr.w -[A7]
00006B1C 42A7 clr.l -[A7]
00006B1E A8EC syscall CopyBits
00006B20 486D ED92 pea.l [A5 - 0x126E]
00006B24 486D EDA0 pea.l [A5 - 0x1260]
00006B28 486D ED5A pea.l [A5 - 0x12A6]
00006B2C 486D ED72 pea.l [A5 - 0x128E]
00006B30 4267 clr.w -[A7]
00006B32 42A7 clr.l -[A7]
00006B34 A8EC syscall CopyBits
00006B36 486D EDA0 pea.l [A5 - 0x1260]
00006B3A 486D ED92 pea.l [A5 - 0x126E]
00006B3E 486D ED6A pea.l [A5 - 0x1296]
00006B42 486D ED5A pea.l [A5 - 0x12A6]
00006B46 4267 clr.w -[A7]
00006B48 42A7 clr.l -[A7]
00006B4A A8EC syscall CopyBits
00006B4C 2F2D FDE4 move.l -[A7], [A5 - 0x21C]
00006B50 286D FDE4 movea.l A4, [A5 - 0x21C]
00006B54 2854 movea.l A4, [A4]
00006B56 3E2D ED6C move.w D7, [A5 - 0x1294]
00006B5A 9E6C 0004 sub.w D7, [A4 + 0x4]
00006B5E 3F07 move.w -[A7], D7
00006B60 286D FDE4 movea.l A4, [A5 - 0x21C]
00006B64 2854 movea.l A4, [A4]
00006B66 3E2D ED6A move.w D7, [A5 - 0x1296]
00006B6A 9E6C 0002 sub.w D7, [A4 + 0x2]
00006B6E 3F07 move.w -[A7], D7
00006B70 A8E0 syscall OffsetRgn/OfsetRgn
00006B72 4A2D ED44 tst.b [A5 - 0x12BC]
00006B76 6700 002E beq +0x30 /* 00006BA6 */
00006B7A 286D F9BA movea.l A4, [A5 - 0x646]
00006B7E 47ED FF08 lea.l A3, [A5 - 0xF8]
00006B82 49EC 0002 lea.l A4, [A4 + 0x2]
00006B86 3E3C 000D move.w D7, 0xD /* '\r' */
label00006B8A:
00006B8A 16DC move.b [A3]+, [A4]+
00006B8C 51CF FFFC dbf D7, -0x6 /* 00006B8A */
00006B90 486D EDA0 pea.l [A5 - 0x1260]
00006B94 A875 syscall SetPBits/SetPortBits
00006B96 486D ED6A pea.l [A5 - 0x1296]
00006B9A 486D ECE4 pea.l [A5 - 0x131C]
00006B9E A8A5 syscall FillRect
00006BA0 486D FF08 pea.l [A5 - 0xF8]
00006BA4 A875 syscall SetPBits/SetPortBits
label00006BA6:
00006BA6 486D FF16 pea.l [A5 - 0xEA]
00006BAA 486D EDA0 pea.l [A5 - 0x1260]
00006BAE 486D ED52 pea.l [A5 - 0x12AE]
00006BB2 486D ED6A pea.l [A5 - 0x1296]
00006BB6 4267 clr.w -[A7]
00006BB8 2F2D FDE4 move.l -[A7], [A5 - 0x21C]
00006BBC A8EC syscall CopyBits
00006BBE 486D EDA0 pea.l [A5 - 0x1260]
00006BC2 286D F9BA movea.l A4, [A5 - 0x646]
00006BC6 486C 0002 pea.l [A4 + 0x2]
00006BCA 486D ED62 pea.l [A5 - 0x129E]
00006BCE 486D ED7A pea.l [A5 - 0x1286]
00006BD2 4267 clr.w -[A7]
00006BD4 42A7 clr.l -[A7]
00006BD6 A8EC syscall CopyBits
00006BD8 2B6D ED82 ED8A move.l [A5 - 0x1276], [A5 - 0x127E]
00006BDE 2B6D ED86 ED8E move.l [A5 - 0x1272], [A5 - 0x127A]
00006BE4 558F subq.l A7, 2
00006BE6 A973 syscall StillDown
00006BE8 1E1F move.b D7, [A7]+
00006BEA 6600 FD0C bne -0x2F2 /* 000068F8 */
00006BEE 3E2D ED84 move.w D7, [A5 - 0x127C]
00006BF2 BE6D EDBE cmp.w D7, [A5 - 0x1242]
00006BF6 6D00 0076 blt +0x78 /* 00006C6E */
00006BFA 0C6E 0001 0008 cmpi.w [A6 + 0x8], 0x1
00006C00 6600 0060 bne +0x62 /* 00006C62 */
00006C04 2F2D EF00 move.l -[A7], [A5 - 0x1100]
00006C08 286D EF00 movea.l A4, [A5 - 0x1100]
00006C0C 2854 movea.l A4, [A4]
00006C0E 3E2D ED84 move.w D7, [A5 - 0x127C]
00006C12 9E6C 0004 sub.w D7, [A4 + 0x4]
00006C16 3F07 move.w -[A7], D7
00006C18 286D EF00 movea.l A4, [A5 - 0x1100]
00006C1C 2854 movea.l A4, [A4]
00006C1E 3E2D ED82 move.w D7, [A5 - 0x127E]
00006C22 9E6C 0002 sub.w D7, [A4 + 0x2]
00006C26 3F07 move.w -[A7], D7
00006C28 A8E0 syscall OffsetRgn/OfsetRgn
00006C2A 486D ED82 pea.l [A5 - 0x127E]
00006C2E 486D ECE4 pea.l [A5 - 0x131C]
00006C32 A8A5 syscall FillRect
00006C34 486D FF16 pea.l [A5 - 0xEA]
00006C38 286D F9BA movea.l A4, [A5 - 0x646]
00006C3C 486C 0002 pea.l [A4 + 0x2]
00006C40 486D FF1C pea.l [A5 - 0xE4]
00006C44 486D ED82 pea.l [A5 - 0x127E]
00006C48 4267 clr.w -[A7]
00006C4A 2F2D EF00 move.l -[A7], [A5 - 0x1100]
00006C4E A8EC syscall CopyBits
00006C50 3F3C 0001 move.w -[A7], 0x1
00006C54 4EBA F9C8 jsr [PC - 0x638 /* 0000661E */]
00006C58 2F2D F9BA move.l -[A7], [A5 - 0x646]
00006C5C A904 syscall DrawGrowIcon
00006C5E 4EFA 000A jmp [PC + 0xA /* 00006C6A */]
label00006C62:
00006C62 3F2E 0008 move.w -[A7], [A6 + 0x8]
00006C66 4EBA F526 jsr [PC - 0xADA /* 0000618E */]
label00006C6A:
00006C6A 4EFA 00C8 jmp [PC + 0xC8 /* 00006D34 */]
label00006C6E:
00006C6E 486D ED92 pea.l [A5 - 0x126E]
00006C72 286D F9BA movea.l A4, [A5 - 0x646]
00006C76 486C 0002 pea.l [A4 + 0x2]
00006C7A 486D ED5A pea.l [A5 - 0x12A6]
00006C7E 486D ED82 pea.l [A5 - 0x127E]
00006C82 4267 clr.w -[A7]
00006C84 42A7 clr.l -[A7]
00006C86 A8EC syscall CopyBits
00006C88 0C6E 0001 0008 cmpi.w [A6 + 0x8], 0x1
00006C8E 6600 003E bne +0x40 /* 00006CCE */
00006C92 286D EF00 movea.l A4, [A5 - 0x1100]
00006C96 2854 movea.l A4, [A4]
00006C98 486C 0002 pea.l [A4 + 0x2]
00006C9C 486D ECE4 pea.l [A5 - 0x131C]
00006CA0 A8A5 syscall FillRect
00006CA2 486D FF16 pea.l [A5 - 0xEA]
00006CA6 286D F9BA movea.l A4, [A5 - 0x646]
00006CAA 486C 0002 pea.l [A4 + 0x2]
00006CAE 486D FF1C pea.l [A5 - 0xE4]
00006CB2 286D EF00 movea.l A4, [A5 - 0x1100]
00006CB6 2854 movea.l A4, [A4]
00006CB8 486C 0002 pea.l [A4 + 0x2]
00006CBC 4267 clr.w -[A7]
00006CBE 2F2D EF00 move.l -[A7], [A5 - 0x1100]
00006CC2 A8EC syscall CopyBits
00006CC4 2F2D F9BA move.l -[A7], [A5 - 0x646]
00006CC8 A904 syscall DrawGrowIcon
00006CCA 4EFA 0068 jmp [PC + 0x68 /* 00006D34 */]
label00006CCE:
00006CCE 486D FF16 pea.l [A5 - 0xEA]
00006CD2 286D F9BA movea.l A4, [A5 - 0x646]
00006CD6 486C 0002 pea.l [A4 + 0x2]
00006CDA 3E2E 0008 move.w D7, [A6 + 0x8]
00006CDE 5347 subq.w D7, 1
00006CE0 CFFC 0012 muls.w D7, 0x12
00006CE4 49ED EF00 lea.l A4, [A5 - 0x1100]
00006CE8 4874 7008 pea.l [A4 + D7.w + 0x8]
00006CEC 3E2E 0008 move.w D7, [A6 + 0x8]
00006CF0 5347 subq.w D7, 1
00006CF2 CFFC 0012 muls.w D7, 0x12
00006CF6 49ED EF00 lea.l A4, [A5 - 0x1100]
00006CFA 2874 7000 movea.l A4, [A4 + D7.w]
00006CFE 2854 movea.l A4, [A4]
00006D00 486C 0002 pea.l [A4 + 0x2]
00006D04 4267 clr.w -[A7]
00006D06 3E2E 0008 move.w D7, [A6 + 0x8]
00006D0A 5347 subq.w D7, 1
00006D0C CFFC 0012 muls.w D7, 0x12
00006D10 49ED EF00 lea.l A4, [A5 - 0x1100]
00006D14 2F34 7000 move.l -[A7], [A4 + D7.w]
00006D18 A8EC syscall CopyBits
00006D1A 3E2E 0008 move.w D7, [A6 + 0x8]
00006D1E 5347 subq.w D7, 1
00006D20 CFFC 0012 muls.w D7, 0x12
00006D24 49ED EF00 lea.l A4, [A5 - 0x1100]
00006D28 2F34 7000 move.l -[A7], [A4 + D7.w]
00006D2C A8D2 syscall FrameRgn
00006D2E 2F2D F9BA move.l -[A7], [A5 - 0x646]
00006D32 A969 syscall DrawControls
label00006D34:
00006D34 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+
00006D38 4E5E unlink A6
00006D3A 205F movea.l A0, [A7]+
00006D3C 4FEF 000A lea.l A7, [A7 + 0xA]
00006D40 4ED0 jmp [A0]
fn00006D42:
00006D42 4E56 FF78 link A6, -0x0088
00006D46 48E7 0308 movem.l -[A7], D6,D7,A4
00006D4A 598F subq.l A7, 4
00006D4C 2F3C 0000 0400 move.l -[A7], 0x400
00006D52 4EBA CE92 jsr [PC - 0x316E /* 00003BE6 */]
00006D56 2E1F move.l D7, [A7]+
00006D58 2D47 FF80 move.l [A6 - 0x80], D7
00006D5C 2E2E FF80 move.l D7, [A6 - 0x80]
00006D60 0687 0000 0200 addi.l D7, 0x200
00006D66 2D47 FF84 move.l [A6 - 0x7C], D7
00006D6A 3B7C 0048 EA52 move.w [A5 - 0x15AE], 0x48 /* 'H' */
00006D70 486D EA54 pea.l [A5 - 0x15AC]
00006D74 4267 clr.w -[A7]
00006D76 4267 clr.w -[A7]
00006D78 3F3C 0240 move.w -[A7], 0x240
00006D7C 3F3C 02D0 move.w -[A7], 0x2D0
00006D80 A8A7 syscall SetRect
00006D82 2D7C 0000 CA80 FF98 move.l [A6 - 0x68], 0xCA80
00006D8A 598F subq.l A7, 4
00006D8C 2F2E FF98 move.l -[A7], [A6 - 0x68]
00006D90 4EBA CE08 jsr [PC - 0x31F8 /* 00003B9A */]
00006D94 2E1F move.l D7, [A7]+
00006D96 2D47 FF9C move.l [A6 - 0x64], D7
00006D9A 2E2E FF9C move.l D7, [A6 - 0x64]
00006D9E BEAE FF98 cmp.l D7, [A6 - 0x68]
00006DA2 6C00 0012 bge +0x14 /* 00006DB6 */
00006DA6 3F3C 1B78 move.w -[A7], 0x1B78
00006DAA 486E FF8A pea.l [A6 - 0x76]
00006DAE 4EBA D448 jsr [PC - 0x2BB8 /* 000041F8 */]
00006DB2 4EFA 01DA jmp [PC + 0x1DA /* 00006F8E */]
label00006DB6:
00006DB6 598F subq.l A7, 4
00006DB8 2F2E FF98 move.l -[A7], [A6 - 0x68]
00006DBC 4EBA CE28 jsr [PC - 0x31D8 /* 00003BE6 */]
00006DC0 2E1F move.l D7, [A7]+
00006DC2 2B47 EA4E move.l [A5 - 0x15B2], D7
00006DC6 3D7C 005A FFFE move.w [A6 - 0x2], 0x5A /* 'Z' */
00006DCC 3D7C 0050 FFFC move.w [A6 - 0x4], 0x50 /* 'P' */
00006DD2 2D7A 01D0 FFA2 move.l [A6 - 0x5E], [PC + 0x1D0 /* 00006FA4, value 0x504E5447 'PNTG', pstring "NTG" */]
00006DD8 3E3C 0001 move.w D7, 0x1
00006DDC 3D47 FF8A move.w [A6 - 0x76], D7
00006DE0 0C47 0003 cmpi.w D7, 0x3
00006DE4 6E00 0022 bgt +0x24 /* 00006E08 */
label00006DE8:
00006DE8 3C07 move.w D6, D7
00006DEA E54E lsl D6.w, 2
00006DEC 49EE FFA2 lea.l A4, [A6 - 0x5E]
00006DF0 29BA 01AE 6000 move.l [A4 + D6.w], [PC + 0x1AE /* 00006FA0, value 0x3F3F3F3F '????', pstring "???PNTG" */]
00006DF6 0C47 0003 cmpi.w D7, 0x3
00006DFA 6C00 000C bge +0xE /* 00006E08 */
00006DFE 5247 addq.w D7, 1
00006E00 3D47 FF8A move.w [A6 - 0x76], D7
00006E04 4EFA FFE2 jmp [PC - 0x1E /* 00006DE8 */]
label00006E08:
00006E08 2F2E FFFC move.l -[A7], [A6 - 0x4]
00006E0C 487A 0190 pea.l [PC + 0x190 /* 00006F9E, value 0x3F3F '??', cstring "" */]
00006E10 42A7 clr.l -[A7]
00006E12 3F3C 0001 move.w -[A7], 0x1
00006E16 486E FFA2 pea.l [A6 - 0x5E]
00006E1A 42A7 clr.l -[A7]
00006E1C 486E FFB2 pea.l [A6 - 0x4E]
00006E20 4EBA D11C jsr [PC - 0x2EE4 /* 00003F3E */]
00006E24 422D EA4C clr.b [A5 - 0x15B4]
00006E28 4A2E FFB2 tst.b [A6 - 0x4E]
00006E2C 6700 0160 beq +0x162 /* 00006F8E */
00006E30 558F subq.l A7, 2
00006E32 42A7 clr.l -[A7]
00006E34 3F2E FFB8 move.w -[A7], [A6 - 0x48]
00006E38 4EBA CF18 jsr [PC - 0x30E8 /* 00003D52 */]
00006E3C 3E1F move.w D7, [A7]+
00006E3E 3D47 FFA0 move.w [A6 - 0x60], D7
00006E42 4A6E FFA0 tst.w [A6 - 0x60]
00006E46 6600 013E bne +0x140 /* 00006F86 */
00006E4A 558F subq.l A7, 2
00006E4C 486E FFBC pea.l [A6 - 0x44]
00006E50 3F2E FFB8 move.w -[A7], [A6 - 0x48]
00006E54 486E FF88 pea.l [A6 - 0x78]
00006E58 4EBA CE56 jsr [PC - 0x31AA /* 00003CB0 */]
00006E5C 3E1F move.w D7, [A7]+
00006E5E 3D47 FFA0 move.w [A6 - 0x60], D7
00006E62 4A6E FFA0 tst.w [A6 - 0x60]
00006E66 6600 0112 bne +0x114 /* 00006F7A */
00006E6A 558F subq.l A7, 2
00006E6C 3F2E FF88 move.w -[A7], [A6 - 0x78]
00006E70 486E FF90 pea.l [A6 - 0x70]
00006E74 4EBA CF8A jsr [PC - 0x3076 /* 00003E00 */]
00006E78 3E1F move.w D7, [A7]+
00006E7A 3D47 FFA0 move.w [A6 - 0x60], D7
00006E7E 558F subq.l A7, 2
00006E80 3F2E FF88 move.w -[A7], [A6 - 0x78]
00006E84 3F3C 0001 move.w -[A7], 0x1
00006E88 2F3C 0000 0200 move.l -[A7], 0x200
00006E8E 4EBA CFDA jsr [PC - 0x3026 /* 00003E6A */]
00006E92 3E1F move.w D7, [A7]+
00006E94 3D47 FFA0 move.w [A6 - 0x60], D7
00006E98 2D6E FF80 FF78 move.l [A6 - 0x88], [A6 - 0x80]
00006E9E 2D7C 0000 0400 FF94 move.l [A6 - 0x6C], 0x400
00006EA6 558F subq.l A7, 2
00006EA8 3F2E FF88 move.w -[A7], [A6 - 0x78]
00006EAC 486E FF94 pea.l [A6 - 0x6C]
00006EB0 2F2E FF78 move.l -[A7], [A6 - 0x88]
00006EB4 4EBA CE50 jsr [PC - 0x31B0 /* 00003D06 */]
00006EB8 3E1F move.w D7, [A7]+
00006EBA 3D47 FFA0 move.w [A6 - 0x60], D7
00006EBE 2D6D EA4E FF7C move.l [A6 - 0x84], [A5 - 0x15B2]
00006EC4 3E3C 0001 move.w D7, 0x1
00006EC8 3D47 FF8A move.w [A6 - 0x76], D7
00006ECC 0C47 02D0 cmpi.w D7, 0x2D0
00006ED0 6E00 008E bgt +0x90 /* 00006F60 */
label00006ED4:
00006ED4 486E FF78 pea.l [A6 - 0x88]
00006ED8 486E FF7C pea.l [A6 - 0x84]
00006EDC 3F3C 0048 move.w -[A7], 0x48 /* 'H' */
00006EE0 A8D0 syscall UnpackBits
00006EE2 2C2E FF78 move.l D6, [A6 - 0x88]
00006EE6 BCAE FF84 cmp.l D6, [A6 - 0x7C]
00006EEA 6F00 0062 ble +0x64 /* 00006F4E */
00006EEE 2F2E FF84 move.l -[A7], [A6 - 0x7C]
00006EF2 2F2E FF80 move.l -[A7], [A6 - 0x80]
00006EF6 2F3C 0000 0200 move.l -[A7], 0x200
00006EFC 4EBA CD6E jsr [PC - 0x3292 /* 00003C6C */]
00006F00 558F subq.l A7, 2
00006F02 3F2E FF88 move.w -[A7], [A6 - 0x78]
00006F06 486E FF8C pea.l [A6 - 0x74]
00006F0A 4EBA CF3A jsr [PC - 0x30C6 /* 00003E46 */]
00006F0E 3C1F move.w D6, [A7]+
00006F10 3D46 FFA0 move.w [A6 - 0x60], D6
00006F14 2C2E FF8C move.l D6, [A6 - 0x74]
00006F18 BCAE FF90 cmp.l D6, [A6 - 0x70]
00006F1C 6C00 0022 bge +0x24 /* 00006F40 */
00006F20 2D7C 0000 0200 FF94 move.l [A6 - 0x6C], 0x200
00006F28 558F subq.l A7, 2
00006F2A 3F2E FF88 move.w -[A7], [A6 - 0x78]
00006F2E 486E FF94 pea.l [A6 - 0x6C]
00006F32 2F2E FF84 move.l -[A7], [A6 - 0x7C]
00006F36 4EBA CDCE jsr [PC - 0x3232 /* 00003D06 */]
00006F3A 3C1F move.w D6, [A7]+
00006F3C 3D46 FFA0 move.w [A6 - 0x60], D6
label00006F40:
00006F40 2C2E FF78 move.l D6, [A6 - 0x88]
00006F44 0486 0000 0200 subi.l D6, 0x200
00006F4A 2D46 FF78 move.l [A6 - 0x88], D6
label00006F4E:
00006F4E 0C47 02D0 cmpi.w D7, 0x2D0
00006F52 6C00 000C bge +0xE /* 00006F60 */
00006F56 5247 addq.w D7, 1
00006F58 3D47 FF8A move.w [A6 - 0x76], D7
00006F5C 4EFA FF76 jmp [PC - 0x8A /* 00006ED4 */]
label00006F60:
00006F60 1B7C 0001 EA4C move.b [A5 - 0x15B4], 0x1
00006F66 558F subq.l A7, 2
00006F68 3F2E FF88 move.w -[A7], [A6 - 0x78]
00006F6C 4EBA CD7C jsr [PC - 0x3284 /* 00003CEA */]
00006F70 3E1F move.w D7, [A7]+
00006F72 3D47 FFA0 move.w [A6 - 0x60], D7
00006F76 4EFA 000A jmp [PC + 0xA /* 00006F82 */]
label00006F7A:
00006F7A 3F2E FFA0 move.w -[A7], [A6 - 0x60]
00006F7E 4EBA D228 jsr [PC - 0x2DD8 /* 000041A8 */]
label00006F82:
00006F82 4EFA 000A jmp [PC + 0xA /* 00006F8E */]
label00006F86:
00006F86 3F2E FFA0 move.w -[A7], [A6 - 0x60]
00006F8A 4EBA D21C jsr [PC - 0x2DE4 /* 000041A8 */]
label00006F8E:
00006F8E 2F2E FF80 move.l -[A7], [A6 - 0x80]
00006F92 4EBA CC5E jsr [PC - 0x33A2 /* 00003BF2 */]
00006F96 4CDF 10C0 movem.l D6,D7,A4, [A7]+
00006F9A 4E5E unlink A6
00006F9C 4E75 rts
00006F9E 0000 3F3F ori.b D0, 0x3F /* '?' */
00006FA2 3F3F move.w -[A7], <<invalid special address>>
00006FA4 504E addq.w A6, 8
00006FA6 5447 addq.w D7, 2